diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-09-27 23:26:19 +0200 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-10-23 01:00:31 +0200 |
commit | e7720afad068a6729d9cd3aaa08212f2f5a7ceff (patch) | |
tree | 62c84f29a1b0f45baae781251a029c04b006411f /fs/xfs/xfs_refcount_item.h | |
parent | xfs: use separate btree cursor cache for each btree type (diff) | |
download | linux-e7720afad068a6729d9cd3aaa08212f2f5a7ceff.tar.xz linux-e7720afad068a6729d9cd3aaa08212f2f5a7ceff.zip |
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/xfs_refcount_item.h')
-rw-r--r-- | fs/xfs/xfs_refcount_item.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_refcount_item.h b/fs/xfs/xfs_refcount_item.h index f4f2e836540b..22c69c5a8394 100644 --- a/fs/xfs/xfs_refcount_item.h +++ b/fs/xfs/xfs_refcount_item.h @@ -25,7 +25,7 @@ /* kernel only CUI/CUD definitions */ struct xfs_mount; -struct kmem_zone; +struct kmem_cache; /* * Max number of extents in fast allocation path. @@ -68,7 +68,7 @@ struct xfs_cud_log_item { struct xfs_cud_log_format cud_format; }; -extern struct kmem_zone *xfs_cui_zone; -extern struct kmem_zone *xfs_cud_zone; +extern struct kmem_cache *xfs_cui_zone; +extern struct kmem_cache *xfs_cud_zone; #endif /* __XFS_REFCOUNT_ITEM_H__ */ |