xfs: return the allocated transaction from xfs_trans_alloc_empty
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Jul 2025 12:43:15 +0000 (14:43 +0200)
committerCarlos Maiolino <cem@kernel.org>
Thu, 24 Jul 2025 15:30:13 +0000 (17:30 +0200)
commitd8e1ea43e5a314bc01ec059ce93396639dcf9112
tree068c23929c3dc46bc69168bc57ec66b55725e913
parent60538b0b54b38819fa94b2815b5d89863b074526
xfs: return the allocated transaction from xfs_trans_alloc_empty

xfs_trans_alloc_empty can't return errors, so return the allocated
transaction directly instead of an output double pointer argument.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
17 files changed:
fs/xfs/libxfs/xfs_refcount.c
fs/xfs/scrub/common.c
fs/xfs/scrub/repair.c
fs/xfs/scrub/scrub.c
fs/xfs/xfs_attr_item.c
fs/xfs/xfs_discard.c
fs/xfs/xfs_fsmap.c
fs/xfs/xfs_icache.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_itable.c
fs/xfs/xfs_iwalk.c
fs/xfs/xfs_notify_failure.c
fs/xfs/xfs_qm.c
fs/xfs/xfs_rtalloc.c
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h
fs/xfs/xfs_zone_gc.c