diff options
author | Dave Chinner <dchinner@redhat.com> | 2022-07-07 19:07:16 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2022-07-07 19:07:16 +1000 |
commit | a95fee40e3d433d8fabff7c02e75f7c2c2e54400 (patch) | |
tree | faf2b10ba482ac5d3e3205634d6356ad873fd507 /fs/xfs/libxfs/xfs_ialloc.h | |
parent | c6aee2481419b638a5257adbd3ffd33b11c59fa8 (diff) | |
download | linux-a95fee40e3d433d8fabff7c02e75f7c2c2e54400.tar.gz |
xfs: kill xfs_ialloc_pagi_init()
This is just a basic wrapper around xfs_ialloc_read_agi(), which can
be entirely handled by xfs_ialloc_read_agi() by passing a NULL
agibpp....
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_ialloc.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/xfs/libxfs/xfs_ialloc.h b/fs/xfs/libxfs/xfs_ialloc.h index a7705b6a1fd3..1ff42bf1e4b3 100644 --- a/fs/xfs/libxfs/xfs_ialloc.h +++ b/fs/xfs/libxfs/xfs_ialloc.h @@ -73,16 +73,6 @@ xfs_ialloc_read_agi( struct xfs_buf **bpp); /* allocation group hdr buf */ /* - * Read in the allocation group header to initialise the per-ag data - * in the mount structure - */ -int -xfs_ialloc_pagi_init( - struct xfs_mount *mp, /* file system mount structure */ - struct xfs_trans *tp, /* transaction pointer */ - xfs_agnumber_t agno); /* allocation group number */ - -/* * Lookup a record by ino in the btree given by cur. */ int xfs_inobt_lookup(struct xfs_btree_cur *cur, xfs_agino_t ino, |