aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_ialloc_btree.h
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-02-22 20:40:46 +0000
committerDarrick J. Wong <[email protected]>2024-02-22 20:40:46 +0000
commit3038fd8129384c64946c17198229ee61f6f2c8e1 (patch)
treea83e31ad70743b61c71a9af25b4f5cdb423b3ac9 /fs/xfs/libxfs/xfs_ialloc_btree.h
parentxfs: split xfs_allocbt_init_cursor (diff)
downloadkernel-3038fd8129384c64946c17198229ee61f6f2c8e1.tar.gz
kernel-3038fd8129384c64946c17198229ee61f6f2c8e1.zip
xfs: remove xfs_inobt_cur
This helper provides no real advantage over just open code the two calls in it in the callers. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc_btree.h')
-rw-r--r--fs/xfs/libxfs/xfs_ialloc_btree.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/libxfs/xfs_ialloc_btree.h b/fs/xfs/libxfs/xfs_ialloc_btree.h
index 40f0fc0e8da3..2f1552d65655 100644
--- a/fs/xfs/libxfs/xfs_ialloc_btree.h
+++ b/fs/xfs/libxfs/xfs_ialloc_btree.h
@@ -64,9 +64,6 @@ int xfs_finobt_calc_reserves(struct xfs_perag *perag, struct xfs_trans *tp,
xfs_extlen_t *ask, xfs_extlen_t *used);
extern xfs_extlen_t xfs_iallocbt_calc_size(struct xfs_mount *mp,
unsigned long long len);
-int xfs_inobt_cur(struct xfs_perag *pag, struct xfs_trans *tp,
- xfs_btnum_t btnum, struct xfs_btree_cur **curpp,
- struct xfs_buf **agi_bpp);
void xfs_inobt_commit_staged_btree(struct xfs_btree_cur *cur,
struct xfs_trans *tp, struct xfs_buf *agbp);