diff options
author | Jan Kara <jack@suse.cz> | 2008-07-25 01:46:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 10:53:33 -0700 |
commit | 00b441970a0ab48185244300ac7d4e4eb76df692 (patch) | |
tree | 5e0e7b72b0388dd889da267e669dd1e427e82946 /fs/jbd2 | |
parent | 4506567b24d3ea707e46e8aad64caef539382f4b (diff) | |
download | linux-00b441970a0ab48185244300ac7d4e4eb76df692.tar.bz2 |
reiserfs: 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 (some mount versions do this on remount). Finally, we
should not discard current quota options if parsing of mount options fails.
Cc: <reiserfs-devel@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>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions