android_kernel_samsung_msm8976/fs/quota
Christoph Hellwig 8c4e4acd66 quota: clean up Q_XQUOTASYNC
Currently Q_XQUOTASYNC calls into the quota_sync method, but XFS does something
entirely different in it than the rest of the filesystems.  xfs_quota which
calls Q_XQUOTASYNC expects an asynchronous data writeout to flush delayed
allocations, while the "VFS" quota support wants to flush changes to the quota
file.

So make Q_XQUOTASYNC call into the writeback code directly and make the
quota_sync method optional as XFS doesn't need in the sense expected by the
rest of the quota code.

GFS2 was using limited XFS-style quota and has a quota_sync method fitting
neither the style used by vfs_quota_sync nor xfs_fs_quota_sync.  I left it
in for now as per discussion with Steve it expects to be called from the
sync path this way.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
2010-03-05 00:20:24 +01:00
..
dquot.c quota: Fix warning when a delayed write happens before quota is enabled 2010-03-05 00:20:21 +01:00
Kconfig quota: Implement quota format with 64-bit space and inode limits 2009-12-10 15:02:54 +01:00
Makefile quota: remove obsolete comments in fs/quota/Makefile 2009-04-27 16:49:52 +02:00
quota.c quota: clean up Q_XQUOTASYNC 2010-03-05 00:20:24 +01:00
quota_tree.c
quota_tree.h
quota_v1.c const: struct quota_format_ops 2009-12-10 15:02:51 +01:00
quota_v2.c quota: Improve checking of quota file header 2009-12-23 13:44:13 +01:00
quotaio_v1.h
quotaio_v2.h quota: Implement quota format with 64-bit space and inode limits 2009-12-10 15:02:54 +01:00