]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: simplify the xfs_rmap_{alloc,free}_extent calling conventions
authorDarrick J. Wong <djwong@kernel.org>
Mon, 24 Feb 2025 18:21:46 +0000 (10:21 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 25 Feb 2025 17:15:57 +0000 (09:15 -0800)
commitcf20a9c6185251c214ae391f4f46faad738164ce
treeaee60c2fe4b2a5847fd4e607c1d83180cdc44b33
parent06778e784abc31c181f1db4c87c6ecb792a3d65f
xfs: simplify the xfs_rmap_{alloc,free}_extent calling conventions

Source kernel commit: 953f76bf7a3622351f335c77c56ed7efb793e3e7

Simplify the calling conventions by allowing callers to pass a fsbno
(xfs_fsblock_t) directly into these functions, since we're just going to
set it in a struct anyway.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_refcount.c
libxfs/xfs_rmap.c
libxfs/xfs_rmap.h