xfs: merge the ->log_item defer op into ->create_intent
authorChristoph Hellwig <hch@lst.de>
Thu, 30 Apr 2020 19:52:20 +0000 (12:52 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 4 May 2020 16:03:16 +0000 (09:03 -0700)
commitc1f09188e8de0ae65433cb9c8ace4feb66359bcc
tree9fef07057a732be3ad0a2616ff6059d24231b4b3
parente046e949486ec92d83b2ccdf0e7e9144f74ef028
xfs: merge the ->log_item defer op into ->create_intent

These are aways called together, and my merging them we reduce the amount
of indirect calls, improve type safety and in general clean up the code
a bit.

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