diff options
author | Dave Chinner <dchinner@redhat.com> | 2021-06-02 10:48:51 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2021-06-02 10:48:51 +1000 |
commit | 509201163fca3d4d906bd50a5320115d42818748 (patch) | |
tree | 281920492e07aabe49c2d8352d4d231b93a01fbe /fs/xfs/libxfs/xfs_ag.c | |
parent | f40aadb2bb64fe0a3d9b59957e70796d629cdee2 (diff) |
xfs: remove xfs_perag_t
Almost unused, gets rid of another typedef.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ag.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_ag.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/fs/xfs/libxfs/xfs_ag.c b/fs/xfs/libxfs/xfs_ag.c index 0e0819f6fb89..29c42698aa90 100644 --- a/fs/xfs/libxfs/xfs_ag.c +++ b/fs/xfs/libxfs/xfs_ag.c @@ -104,19 +104,19 @@ xfs_perag_put( */ int xfs_initialize_perag_data( - struct xfs_mount *mp, - xfs_agnumber_t agcount) + struct xfs_mount *mp, + xfs_agnumber_t agcount) { - xfs_agnumber_t index; - xfs_perag_t *pag; - xfs_sb_t *sbp = &mp->m_sb; - uint64_t ifree = 0; - uint64_t ialloc = 0; - uint64_t bfree = 0; - uint64_t bfreelst = 0; - uint64_t btree = 0; - uint64_t fdblocks; - int error = 0; + xfs_agnumber_t index; + struct xfs_perag *pag; + struct xfs_sb *sbp = &mp->m_sb; + uint64_t ifree = 0; + uint64_t ialloc = 0; + uint64_t bfree = 0; + uint64_t bfreelst = 0; + uint64_t btree = 0; + uint64_t fdblocks; + int error = 0; for (index = 0; index < agcount; index++) { /* |