xfs: hoist xfs_trans_add_item calls to defer ops functions
authorDarrick J. Wong <djwong@kernel.org>
Thu, 30 Nov 2023 20:06:08 +0000 (12:06 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 7 Dec 2023 02:45:16 +0000 (18:45 -0800)
commitb28852a5bd08654634e4e32eb072fba14c5fae26
tree7c7b11121ed59b8d06a6af8f33b3a421dbbd2fbf
parent3e0958be2156d90ef908a1a547b4e27a3ec38da9
xfs: hoist xfs_trans_add_item calls to defer ops functions

Remove even more repeated boilerplate.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_defer.c
fs/xfs/xfs_attr_item.c
fs/xfs/xfs_bmap_item.c
fs/xfs/xfs_extfree_item.c
fs/xfs/xfs_refcount_item.c
fs/xfs/xfs_rmap_item.c