diff options
author | Theodore Ts'o <tytso@mit.edu> | 2013-01-24 23:24:56 -0500 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2013-03-06 03:23:45 +0000 |
commit | 70430b37bf00e72209fb13e5f232db3d4d0b48e9 (patch) | |
tree | dfd3a7c857afe9d24b22738fb18ce4b620fe9f40 /include | |
parent | d18e2707f1f3e96b59313f338123a88ba59b4a87 (diff) |
quota: autoload the quota_v2 module for QFMT_VFS_V1 quota format
commit c3ad83d9efdfe6a86efd44945a781f00c879b7b4 upstream.
Otherwise, ext4 file systems with the quota featured enable will get a
very confusing "No such process" error message if the quota code is
built as a module and the quota_v2 module has not been loaded.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/quota.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h index cb7855699037..116258054633 100644 --- a/include/linux/quota.h +++ b/include/linux/quota.h @@ -413,6 +413,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 /* __KERNEL__ */ |