[ 3.5.y.z extended stable ] Patch "quota: autoload the quota_v2 module for QFMT_VFS_V1 quota" has been added to staging queue

Luis Henriques luis.henriques at canonical.com
Thu Feb 28 11:57:24 UTC 2013


This is a note to let you know that I have just added a patch titled

    quota: autoload the quota_v2 module for QFMT_VFS_V1 quota

to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree 
which can be found at:

 http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux-3.5.y-queue

If you, or anyone else, feels it should not be added to this tree, please 
reply to this email.

For more information about the 3.5.y.z tree, see
https://wiki.ubuntu.com/Kernel/Dev/ExtendedStable

Thanks.
-Luis

------

>From 7655d5d4f9a5d892f2ec8ad95e7a0e9d1e83bbf6 Mon Sep 17 00:00:00 2001
From: Theodore Ts'o <tytso at mit.edu>
Date: Thu, 24 Jan 2013 23:24:56 -0500
Subject: [PATCH] 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 at mit.edu>
Reviewed-by: Carlos Maiolino <cmaiolino at redhat.com>
Acked-by: Jan Kara <jack at suse.cz>
Signed-off-by: Luis Henriques <luis.henriques at canonical.com>
---
 include/linux/quota.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/quota.h b/include/linux/quota.h
index c09fa04..ffd8607 100644
--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -417,6 +417,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__ */
--
1.8.1.2





More information about the kernel-team mailing list