xfs: use a xfs_btree_cur for the ->finish_cleanup state
authorChristoph Hellwig <hch@lst.de>
Thu, 30 Apr 2020 19:52:22 +0000 (12:52 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 4 May 2020 16:03:17 +0000 (09:03 -0700)
commit3ec1b26c04d4910f37cdaad26d14b403c0240e30
treee49ec459acdb2011bc3b83cfd93a59f9c62b4be0
parentf09d167c20332ad1298ff82a6f538b4c7ea3fe1b
xfs: use a xfs_btree_cur for the ->finish_cleanup state

Given how XFS is all based around btrees it doesn't make much sense
to offer a totally generic state when we can just use the btree cursor.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_defer.c
fs/xfs/libxfs/xfs_defer.h
fs/xfs/xfs_bmap_item.c
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_refcount_item.c
fs/xfs/xfs_rmap_item.c