xfs: merge iop_unpin_remove into iop_unpin
authorChristoph Hellwig <hch@infradead.org>
Wed, 23 Jun 2010 08:11:15 +0000 (18:11 +1000)
committerAlex Elder <aelder@sgi.com>
Mon, 26 Jul 2010 18:16:34 +0000 (13:16 -0500)
commit9412e3181c0ef82efc3d8e88d73e583ec10c34e9
tree10ed24cdebd9922e7cd9414941e5c59e9e5fafab
parente98c414f9a3134fe7efc56ef8f1d394b54bfd40e
xfs: merge iop_unpin_remove into iop_unpin

The unpin_remove item operation instances always share most of the
implementation with the respective unpin implementation.  So instead
of keeping two different entry points add a remove flag to the unpin
operation and share the code more easily.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/quota/xfs_dquot_item.c
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h