]> err.no Git - linux-2.6/commit
ext4: correct mount option parsing to detect when quota options can be changed
authorJan Kara <jack@suse.cz>
Tue, 13 May 2008 23:11:51 +0000 (19:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 13 May 2008 23:11:51 +0000 (19:11 -0400)
commitdfc5d03f12e706c19ee37734184ea96582ef931d
tree66397d0933ba3307a9de99db298ae790dda90336
parent8f40f672e6bb071812f61bfbd30efc3fc1263ad1
ext4: correct mount option parsing to detect when quota options can be changed

We should not allow user to change quota mount options when quota is
just suspended.  It would make mount options and internal quota state
inconsistent.  Also we should not allow user to change quota format when
quota is turned on.  On the other hand we can just silently ignore when
some option is set to the value it already has (mount does this on
remount).

Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c