]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: return the allocated transaction from xfs_trans_alloc_empty
authorChristoph Hellwig <hch@lst.de>
Mon, 6 Oct 2025 12:40:17 +0000 (14:40 +0200)
committerAndrey Albershteyn <aalbersh@kernel.org>
Mon, 13 Oct 2025 09:53:39 +0000 (11:53 +0200)
commitfc46966ce3d53f0106620637dce2f3221da75124
tree8c9f12608785cf533601c4cbb331c12026fbbf06
parentff1a5239a94f7ad3db4ebd9897c4d1e83292feae
xfs: return the allocated transaction from xfs_trans_alloc_empty

Source kernel commit: d8e1ea43e5a314bc01ec059ce93396639dcf9112

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>
Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
16 files changed:
db/attrset.c
db/dquot.c
db/fsmap.c
db/info.c
db/namei.c
db/rdump.c
include/xfs_trans.h
libxfs/inode.c
libxfs/trans.c
libxfs/xfs_refcount.c
repair/phase2.c
repair/pptr.c
repair/quotacheck.c
repair/rcbag.c
repair/rmap.c
repair/rt.c