xfs: use internal dfops during [b|c]ui recovery
authorBrian Foster <bfoster@redhat.com>
Tue, 24 Jul 2018 20:43:13 +0000 (13:43 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Jul 2018 17:15:15 +0000 (10:15 -0700)
commit91ef75b6572498face47746c253926e733a4da3b
treeced5fa1936991dd3a718d0ef4176f9d4e9fd3eca
parent9c6bb0cf7ba318767107328f39aac880344ddd2e
xfs: use internal dfops during [b|c]ui recovery

bmap and refcount intent processing associates a dfops from the
caller with a local transaction to collect all deferred items for
post-processing. Use the internal dfops in both of these functions
and move the deferred items to the parent dfops before the
transaction commits.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_bmap_item.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_refcount_item.c