xfs: untangle SYNC_WAIT and SYNC_TRYLOCK meanings for xfs_qm_dqflush
authorChristoph Hellwig <hch@infradead.org>
Tue, 6 Dec 2011 21:58:10 +0000 (21:58 +0000)
committerBen Myers <bpm@sgi.com>
Mon, 12 Dec 2011 22:31:01 +0000 (16:31 -0600)
commitfdedf28b9492d69976110d12cc0d02d33c8ea7ea
treec7d390c58afa3fd342efadca88e3991c8cb5142f
parentb39342134a6ec72778ffc2ddbd3c0faa10c64676
xfs: untangle SYNC_WAIT and SYNC_TRYLOCK meanings for xfs_qm_dqflush

Only skip pinned dquots if SYNC_TRYLOCK is specified, and adjust the callers
to keep the behaviour unchanged.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_dquot.c
fs/xfs/xfs_dquot_item.c
fs/xfs/xfs_qm.c