aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o2013-01-24 22:24:56 -0600
committerGreg Kroah-Hartman2013-03-03 16:09:02 -0600
commit1adbb5db21a1e08537061607abc9b0a9e7e12848 (patch)
tree8f59463699b1b63cb441b091d15c76ddc20fb348
parent98bbf3565e3147a40c583ff97e2b5a98370c21a5 (diff)
downloadkernel-common-1adbb5db21a1e08537061607abc9b0a9e7e12848.tar.gz
kernel-common-1adbb5db21a1e08537061607abc9b0a9e7e12848.tar.xz
kernel-common-1adbb5db21a1e08537061607abc9b0a9e7e12848.zip
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--include/linux/quota.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h
index 9a85412e0db..a6dd9958776 100644
--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -413,6 +413,7 @@ struct quota_module_name {
413#define INIT_QUOTA_MODULE_NAMES {\ 413#define INIT_QUOTA_MODULE_NAMES {\
414 {QFMT_VFS_OLD, "quota_v1"},\ 414 {QFMT_VFS_OLD, "quota_v1"},\
415 {QFMT_VFS_V0, "quota_v2"},\ 415 {QFMT_VFS_V0, "quota_v2"},\
416 {QFMT_VFS_V1, "quota_v2"},\
416 {0, NULL}} 417 {0, NULL}}
417 418
418#else 419#else