]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.0-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 21:52:13 +0000 (13:52 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 21:52:13 +0000 (13:52 -0800)
added patches:
quota-autoload-the-quota_v2-module-for-qfmt_vfs_v1-quota-format.patch

queue-3.0/quota-autoload-the-quota_v2-module-for-qfmt_vfs_v1-quota-format.patch [new file with mode: 0644]
queue-3.0/series [new file with mode: 0644]

diff --git a/queue-3.0/quota-autoload-the-quota_v2-module-for-qfmt_vfs_v1-quota-format.patch b/queue-3.0/quota-autoload-the-quota_v2-module-for-qfmt_vfs_v1-quota-format.patch
new file mode 100644 (file)
index 0000000..d6456cc
--- /dev/null
@@ -0,0 +1,32 @@
+From c3ad83d9efdfe6a86efd44945a781f00c879b7b4 Mon Sep 17 00:00:00 2001
+From: Theodore Ts'o <tytso@mit.edu>
+Date: Thu, 24 Jan 2013 23:24:56 -0500
+Subject: quota: autoload the quota_v2 module for QFMT_VFS_V1 quota format
+
+From: Theodore Ts'o <tytso@mit.edu>
+
+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>
+
+---
+ include/linux/quota.h |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- 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}}
+ #else
diff --git a/queue-3.0/series b/queue-3.0/series
new file mode 100644 (file)
index 0000000..1d25982
--- /dev/null
@@ -0,0 +1 @@
+quota-autoload-the-quota_v2-module-for-qfmt_vfs_v1-quota-format.patch