]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: decouple xfs_trans_alloc_empty from xfs_trans_alloc
authorChristoph Hellwig <hch@lst.de>
Wed, 16 Jul 2025 12:43:13 +0000 (14:43 +0200)
committerCarlos Maiolino <cem@kernel.org>
Thu, 24 Jul 2025 15:30:13 +0000 (17:30 +0200)
commit83a80e95e797a2a6d14bf7983e5e6eecf8f5facb
tree93121802c6e7e6fa3fa2cb9ed2bf5b22169861a2
parentf1cc16e1547e7be4245755be27bb11027344b4d0
xfs: decouple xfs_trans_alloc_empty from xfs_trans_alloc

xfs_trans_alloc_empty only shares the very basic transaction structure
allocation and initialization with xfs_trans_alloc.

Split out a new __xfs_trans_alloc helper for that and otherwise decouple
xfs_trans_alloc_empty from xfs_trans_alloc.

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/xfs_trans.c