diff options
author | Dave Chinner <dchinner@redhat.com> | 2021-06-02 03:48:51 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2021-06-02 03:48:51 +0300 |
commit | 509201163fca3d4d906bd50a5320115d42818748 (patch) | |
tree | 281920492e07aabe49c2d8352d4d231b93a01fbe /fs/xfs/libxfs/xfs_ag.h | |
parent | f40aadb2bb64fe0a3d9b59957e70796d629cdee2 (diff) | |
download | linux-509201163fca3d4d906bd50a5320115d42818748.tar.xz |
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.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_ag.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_ag.h b/fs/xfs/libxfs/xfs_ag.h index ebf997a8684e..6006b4329026 100644 --- a/fs/xfs/libxfs/xfs_ag.h +++ b/fs/xfs/libxfs/xfs_ag.h @@ -29,7 +29,7 @@ struct xfs_ag_resv { * Per-ag incore structure, copies of information in agf and agi, to improve the * performance of allocation group selection. */ -typedef struct xfs_perag { +struct xfs_perag { struct xfs_mount *pag_mount; /* owner filesystem */ xfs_agnumber_t pag_agno; /* AG this structure belongs to */ atomic_t pag_ref; /* perag reference count */ @@ -102,7 +102,7 @@ typedef struct xfs_perag { * or have some other means to control concurrency. */ struct rhashtable pagi_unlinked_hash; -} xfs_perag_t; +}; int xfs_initialize_perag(struct xfs_mount *mp, xfs_agnumber_t agcount, xfs_agnumber_t *maxagi); |