diff options
author | Jan Kara <jack@suse.cz> | 2008-02-08 13:22:13 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 18:22:44 +0100 |
commit | 66191dc622f5ff0a541524c4e96fdacfacfda206 (patch) | |
tree | 6bd6c7402d5f71f43c161e694d04c535ffc98b57 /fs/ext2 | |
parent | ext3 can fail badly when device stops accepting BIO_RW_BARRIER requests (diff) | |
download | linux-66191dc622f5ff0a541524c4e96fdacfacfda206.tar.xz linux-66191dc622f5ff0a541524c4e96fdacfacfda206.zip |
quota: turn quotas off when remounting read-only
Turn off quotas before filesystem is remounted read only. Otherwise quota
will try to write to read-only filesystem which does no good... We could
also just refuse to remount ro when quota is enabled but turning quota off
is consistent with what we do on umount.
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext2')
0 files changed, 0 insertions, 0 deletions