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
..
2010-03-05 00:20:24 +01:00
2010-02-13 13:22:53 -06:00
2009-12-14 23:08:16 -06:00
2009-06-10 17:07:47 +02:00
2010-01-26 15:10:15 +11:00
2009-12-14 23:08:16 -06:00
2009-06-10 17:07:47 +02:00
2010-01-21 13:44:36 -06:00
2009-12-14 23:08:16 -06:00
2009-12-14 23:08:16 -06:00
2010-01-21 13:44:36 -06:00
2009-12-14 23:08:16 -06:00
2009-03-29 09:51:14 +02:00
2009-03-29 09:55:42 +02:00
2008-12-01 11:37:35 +11:00
2008-10-30 17:53:24 +11:00
2010-01-21 13:44:43 -06:00
2009-03-29 09:55:42 +02:00
2010-01-15 15:33:02 -06:00
2009-08-31 14:46:22 -05:00
2009-12-14 23:08:16 -06:00
2009-12-14 23:08:16 -06:00
2010-02-08 17:41:48 -06:00
2009-12-14 23:08:16 -06:00
2009-03-29 09:55:42 +02:00
2009-09-01 12:46:16 -05:00
2009-03-29 09:55:42 +02:00
2010-01-20 10:44:58 +11:00
2009-06-08 15:33:32 +02:00
2009-12-14 23:08:16 -06:00