summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_extfree_item.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-27 14:26:19 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-10-22 16:00:31 -0700
commite7720afad068a6729d9cd3aaa08212f2f5a7ceff (patch)
tree62c84f29a1b0f45baae781251a029c04b006411f /fs/xfs/xfs_extfree_item.h
parent9fa47bdcd33b117599e9ee3f2e315cb47939ac2d (diff)
downloadlinux-stable-e7720afad068a6729d9cd3aaa08212f2f5a7ceff.tar.gz
linux-stable-e7720afad068a6729d9cd3aaa08212f2f5a7ceff.tar.bz2
linux-stable-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_extfree_item.h')
-rw-r--r--fs/xfs/xfs_extfree_item.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_extfree_item.h b/fs/xfs/xfs_extfree_item.h
index cd2860c875bf..e8644945290e 100644
--- a/fs/xfs/xfs_extfree_item.h
+++ b/fs/xfs/xfs_extfree_item.h
@@ -9,7 +9,7 @@
/* kernel only EFI/EFD definitions */
struct xfs_mount;
-struct kmem_zone;
+struct kmem_cache;
/*
* Max number of extents in fast allocation path.
@@ -69,7 +69,7 @@ struct xfs_efd_log_item {
*/
#define XFS_EFD_MAX_FAST_EXTENTS 16
-extern struct kmem_zone *xfs_efi_zone;
-extern struct kmem_zone *xfs_efd_zone;
+extern struct kmem_cache *xfs_efi_zone;
+extern struct kmem_cache *xfs_efd_zone;
#endif /* __XFS_EXTFREE_ITEM_H__ */