[PATCH] quota: Add QFMT_VFS_V1 -> quota_v2 entry to INIT_QUOTA_MODULE_NAMES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit 498c6015 (quota: Implement quota format with 64-bit space
and inode limits) added the vfsv1 quota format but didn't add it
to INIT_QUOTA_MODULE_NAMES.

File systems using QFMT_VFS_V1 format quotas with CONFIG_QFMT_V1=m,
will fail to enable quotas with ESRCH because the module won't be
loaded.

This patch adds it to the list.

Cc: <stable@xxxxxxxxxxxxxxx> [>=2.6.33]
Cc: Jan Kara <jack@xxxxxxxx>
Signed-off-by: Jeff Mahoney <jeffm@xxxxxxxx>
---
 include/linux/quota.h |    1 +
 1 file changed, 1 insertion(+)

--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -405,6 +405,7 @@ struct quota_module_name {
 #define INIT_QUOTA_MODULE_NAMES {\
 	{QFMT_VFS_OLD, "quota_v1"},\
 	{QFMT_VFS_V0, "quota_v2"},\
+	{QFMT_VFS_V1, "quota_v2"},\
 	{0, NULL}}
 
 #endif /* _QUOTA_ */

-- 
Jeff Mahoney
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux