summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/journal.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2008-07-25 01:46:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-25 10:53:33 -0700
commit00b441970a0ab48185244300ac7d4e4eb76df692 (patch)
tree5e0e7b72b0388dd889da267e669dd1e427e82946 /fs/reiserfs/journal.c
parent4506567b24d3ea707e46e8aad64caef539382f4b (diff)
downloadop-kernel-dev-00b441970a0ab48185244300ac7d4e4eb76df692.zip
op-kernel-dev-00b441970a0ab48185244300ac7d4e4eb76df692.tar.gz
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/reiserfs/journal.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud