]> err.no Git - linux-2.6/commit
ext3: correct mount option parsing to detect when quota options can be changed
authorJan Kara <jack@suse.cz>
Fri, 25 Jul 2008 08:46:18 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:32 +0000 (10:53 -0700)
commitd06bf1d252fe16f5f0d13e04da7a9913420aa1cf
tree2b552d620b0a114d3085ddee3f9a1929040d8bf0
parent99aeaf639f61ab6be1967e5f92e2e28dafad8383
ext3: 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.  I 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: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext3/super.c