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

xchk_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>
fs/xfs/scrub/common.c
fs/xfs/scrub/common.h
fs/xfs/scrub/dir_repair.c
fs/xfs/scrub/fscounters.c
fs/xfs/scrub/metapath.c
fs/xfs/scrub/nlinks.c
fs/xfs/scrub/nlinks_repair.c
fs/xfs/scrub/parent_repair.c
fs/xfs/scrub/quotacheck.c
fs/xfs/scrub/rmap_repair.c
fs/xfs/scrub/rtrmap_repair.c