summaryrefslogtreecommitdiff |
diff options
author | Jeff Mahoney <jeffm@suse.com> | 2013-02-05 09:21:07 -0500 |
---|---|---|
committer | Jeff Mahoney <jeffm@suse.com> | 2013-02-05 09:21:07 -0500 |
commit | ecd48c7af399ea4ae680a39bf5e7568664374469 (patch) | |
tree | e1f380a970a3a5e04f9115741236aa391cc24c54 | |
parent | ffecceb3b8f76a7ea44c3439f0a082c0dc3946a7 (diff) |
quota: autoload the quota_v2 module for QFMT_VFS_V1 quota formatrpm-3.7.6-1.2--openSUSE-12.3-RC1rpm-3.7.6-1.2
(bnc#802153).
-rw-r--r-- | patches.fixes/quota-autoload-the-quota_v2-module-for-qfmt_vfs_v1-quota-format | 37 | ||||
-rw-r--r-- | series.conf | 1 |
2 files changed, 38 insertions, 0 deletions
diff --git a/patches.fixes/quota-autoload-the-quota_v2-module-for-qfmt_vfs_v1-quota-format b/patches.fixes/quota-autoload-the-quota_v2-module-for-qfmt_vfs_v1-quota-format new file mode 100644 index 0000000000..f46b187986 --- /dev/null +++ b/patches.fixes/quota-autoload-the-quota_v2-module-for-qfmt_vfs_v1-quota-format @@ -0,0 +1,37 @@ +From: Theodore Ts'o <tytso@mit.edu> +Date: Fri, 25 Jan 2013 04:24:56 +0000 (-0500) +Subject: quota: autoload the quota_v2 module for QFMT_VFS_V1 quota format +Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git +Git-commit: c3ad83d9efdfe6a86efd44945a781f00c879b7b4 +Patch-mainline: Queued in subsystem maintainer repo +References: bnc#802153 + +quota: autoload the quota_v2 module for QFMT_VFS_V1 quota format + +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> +Cc: stable@vger.kernel.org +Acked-by: Jeff Mahoney <jeffm@suse.com> +--- + + include/linux/quota.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/linux/quota.h b/include/linux/quota.h +index 58fdef12..d133711 100644 +--- 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_ */ + diff --git a/series.conf b/series.conf index 19e1b94a90..9596734eb5 100644 --- a/series.conf +++ b/series.conf @@ -177,6 +177,7 @@ patches.suse/readahead-request-tunables.patch patches.fixes/fs-partitions-efi-c-corrupted-guid-partition-tables-can-cause-kernel-oops patches.fixes/mm-Fix-assertion-mapping-nrpages-0-in-end_writeback.patch + patches.fixes/quota-autoload-the-quota_v2-module-for-qfmt_vfs_v1-quota-format ######################################################## # IPC patches |