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-01-26 22:22:25 -05:00
2009-12-10 15:02:50 +01:00
2010-02-07 03:06:21 -05:00
2010-01-26 22:22:25 -05:00
2010-01-14 09:05:42 -05:00
2010-02-26 12:15:54 -06:00
2010-01-19 22:36:06 -06:00
2010-03-05 00:20:20 +01:00
2009-12-15 08:53:10 -08:00
2009-12-16 07:20:06 -08:00
2010-01-14 09:05:25 -05:00
2009-12-22 12:27:35 -05:00
2010-02-26 17:22:35 -08:00
2009-12-17 11:03:25 -05:00
2010-01-11 14:30:09 +01:00
2009-12-16 07:20:18 -08:00
2010-03-05 00:20:24 +01:00
2010-01-26 22:22:26 -05:00
2009-12-14 21:40:04 +01:00
2009-12-16 07:20:06 -08:00
2010-03-05 00:20:24 +01:00
2009-12-16 07:20:13 -08:00
2009-12-22 12:27:34 -05:00
2009-12-17 04:52:13 -05:00
2010-02-07 10:26:01 -08:00
2009-12-17 11:03:25 -05:00
2009-12-14 18:12:11 -05:00
2009-12-22 12:27:34 -05:00
2009-12-17 10:51:40 -05:00
2009-12-16 12:16:49 -05:00