quota: move remount handling into the filesystem
authorChristoph Hellwig <hch@infradead.org>
Wed, 19 May 2010 11:16:40 +0000 (07:16 -0400)
committerJan Kara <jack@suse.cz>
Mon, 24 May 2010 12:06:39 +0000 (14:06 +0200)
commitc79d967de3741ceb60c5bbbf1b6f97eab9a89838
tree5494e7b504cffb0ddc6942d1542c2b4a472207ed
parenteea7feb072f5914ecafa95b3d83be0c229244d90
quota: move remount handling into the filesystem

Currently do_remount_sb calls into the dquot code to tell it about going
from rw to ro and ro to rw.  Move this code into the filesystem to
not depend on the dquot code in the VFS - note ocfs2 already ignores
these calls and handles remount by itself.  This gets rid of overloading
the quotactl calls and allows to unify the VFS and XFS codepaths in
that area later.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/super.c
fs/ext3/super.c
fs/ext4/super.c
fs/jfs/super.c
fs/reiserfs/super.c
fs/super.c
fs/udf/super.c
fs/ufs/super.c