xfs: collapse the ->create_done functions
authorDarrick J. Wong <djwong@kernel.org>
Thu, 30 Nov 2023 20:17:37 +0000 (12:17 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 7 Dec 2023 02:45:16 +0000 (18:45 -0800)
commit8a9aa763e17c5490d3526cbf4c9484d76ecbbe39
treeb01fcb4383deed03f3ea5734b501ea09cd271be0
parentb28852a5bd08654634e4e32eb072fba14c5fae26
xfs: collapse the ->create_done functions

Move the meat of the ->create_done function helpers into ->create_done
to reduce the amount of boilerplate.

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