]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: simplify the xfs_rmap_{alloc,free}_extent calling conventions
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:39:45 +0000 (12:39 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:36:22 +0000 (13:36 -0800)
commit3cfefde5de6436b56ebf0a9be993651116197692
treecfd67da1551652b1e71cb5dc20e90a0ddd8a3e00
parent8f445f985b794d0ac4c27943e5692c9df543a25d
xfs: simplify the xfs_rmap_{alloc,free}_extent calling conventions

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>
fs/xfs/libxfs/xfs_refcount.c
fs/xfs/libxfs/xfs_rmap.c
fs/xfs/libxfs/xfs_rmap.h
fs/xfs/scrub/alloc_repair.c