xfs: collapse the ->finish_item helpers
authorDarrick J. Wong <djwong@kernel.org>
Thu, 30 Nov 2023 18:23:19 +0000 (10:23 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 7 Dec 2023 02:45:16 +0000 (18:45 -0800)
commite6e5299fcbf0b18cad45cd58f99787549c790857
tree4413d47296323605b5c080516ae0203a95df6e47
parent3dd75c8db1c1675a26d3e228bab349c1fc065867
xfs: collapse the ->finish_item helpers

Each log item's ->finish_item function sets up a small amount of state
and calls another function to do the work.  Collapse that other function
into ->finish_item to reduce the call stack height.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
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