xfs: kill the unused XFS_QMOPT_* flush flags V2
authorDave Chinner <david@fromorbit.com>
Wed, 3 Feb 2010 22:48:58 +0000 (09:48 +1100)
committerDave Chinner <david@fromorbit.com>
Wed, 3 Feb 2010 22:48:58 +0000 (09:48 +1100)
commit20026d92013d7bb3abb295337191def6758fc086
tree7cacdf4b14799534f9907833bd28500cb739a823
parent7d6a7bde52e449f21a0e86a7a4955b4e08a49d69
xfs: kill the unused XFS_QMOPT_* flush flags V2

dquots are never flushed asynchronously. Remove the flag and the
async write support from the flush function. Make the default flush
a delwri flush to make the inode flush code, which leaves the
XFS_QMOPT_SYNC the only flag remaining.  Convert that to use
SYNC_WAIT instead, just like the inode flush code.

V2:
- just pass flush flags straight through

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/quota/xfs_dquot.c
fs/xfs/quota/xfs_dquot_item.c
fs/xfs/quota/xfs_qm.c
fs/xfs/xfs_quota.h