diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-09-28 00:26:19 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-10-23 02:00:31 +0300 |
commit | e7720afad068a6729d9cd3aaa08212f2f5a7ceff (patch) | |
tree | 62c84f29a1b0f45baae781251a029c04b006411f /fs/xfs/libxfs/xfs_btree.h | |
parent | 9fa47bdcd33b117599e9ee3f2e315cb47939ac2d (diff) | |
download | linux-e7720afad068a6729d9cd3aaa08212f2f5a7ceff.tar.xz |
xfs: remove kmem_zone typedef
Remove these typedefs by referencing kmem_cache directly.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_btree.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_btree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/libxfs/xfs_btree.h b/fs/xfs/libxfs/xfs_btree.h index 7bc5a3796052..22d9f411fde6 100644 --- a/fs/xfs/libxfs/xfs_btree.h +++ b/fs/xfs/libxfs/xfs_btree.h @@ -230,7 +230,7 @@ struct xfs_btree_cur struct xfs_trans *bc_tp; /* transaction we're in, if any */ struct xfs_mount *bc_mp; /* file system mount struct */ const struct xfs_btree_ops *bc_ops; - kmem_zone_t *bc_cache; /* cursor cache */ + struct kmem_cache *bc_cache; /* cursor cache */ unsigned int bc_flags; /* btree features - below */ xfs_btnum_t bc_btnum; /* identifies which btree type */ union xfs_btree_irec bc_rec; /* current insert/search record value */ @@ -586,7 +586,7 @@ xfs_btree_alloc_cursor( struct xfs_trans *tp, xfs_btnum_t btnum, uint8_t maxlevels, - kmem_zone_t *cache) + struct kmem_cache *cache) { struct xfs_btree_cur *cur; |