[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-head
Subject:    ext3: Don't check quota format when there are no quota files
From:       "Linux Kernel Mailing List" <linux-kernel () vger ! kernel ! org>
Date:       2014-10-31 23:26:49
Message-ID: 20141031232649.AB3B0660E13 () gitolite ! kernel ! org
[Download RAW message or body]

Gitweb:     http://git.kernel.org/linus/;a=commit;h=7938db449bbc55bbeb164bec7af406212e7e98f1
Commit:     7938db449bbc55bbeb164bec7af406212e7e98f1
Parent:     c2661b806092d8ea2dccb7b02b65776555e0ee47
Refname:    refs/heads/master
Author:     Jan Kara <jack@suse.cz>
AuthorDate: Tue Sep 16 22:23:10 2014 +0200
Committer:  Jan Kara <jack@suse.cz>
CommitDate: Wed Oct 22 09:02:48 2014 +0200

    ext3: Don't check quota format when there are no quota files
    
    The check whether quota format is set even though there are no
    quota files with journalled quota is pointless and it actually
    makes it impossible to turn off journalled quotas (as there's
    no way to unset journalled quota format). Just remove the check.
    
    CC: stable@vger.kernel.org
    Signed-off-by: Jan Kara <jack@suse.cz>
---
 fs/ext3/super.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/fs/ext3/super.c b/fs/ext3/super.c
index 7015db0..eb742d0 100644
--- a/fs/ext3/super.c
+++ b/fs/ext3/super.c
@@ -1354,13 +1354,6 @@ set_qf_format:
 					"not specified.");
 			return 0;
 		}
-	} else {
-		if (sbi->s_jquota_fmt) {
-			ext3_msg(sb, KERN_ERR, "error: journaled quota format "
-					"specified with no journaling "
-					"enabled.");
-			return 0;
-		}
 	}
 #endif
 	return 1;
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic