quota: Split dquot_quota_sync() to writeback and cache flushing part
authorJan Kara <jack@suse.cz>
Tue, 3 Jul 2012 14:45:28 +0000 (16:45 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Jul 2012 19:58:19 +0000 (23:58 +0400)
commitceed17236a7491b44ee2be21f56a41ab997cbe7d
treed3204566d1a2efb4b927de039044881e16d30c2d
parent6eedc70150d55b5885800eb6664ea226dc2cb66f
quota: Split dquot_quota_sync() to writeback and cache flushing part

Split off part of dquot_quota_sync() which writes dquots into a quota file
to a separate function. In the next patch we will use the function from
filesystems and we do not want to abuse ->quota_sync quotactl callback more
than necessary.

Acked-by: Steven Whitehouse <swhiteho@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/gfs2/quota.c
fs/gfs2/quota.h
fs/gfs2/super.c
fs/gfs2/sys.c
fs/quota/dquot.c
fs/quota/quota.c
fs/sync.c
include/linux/quota.h
include/linux/quotaops.h