summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_btree.c
diff options
context:
space:
mode:
authorCarlos Maiolino <cmaiolino@redhat.com>2019-11-14 21:43:04 +0100
committerDarrick J. Wong <darrick.wong@oracle.com>2019-11-18 17:40:44 +0100
commit377bcd5f3b7f46f50fdad1fed639c07f8c9f68cb (patch)
tree913115425fbd1d1f34b8caa15a3e1237a2e803ed /fs/xfs/libxfs/xfs_btree.c
parentxfs: Remove kmem_zone_destroy() wrapper (diff)
downloadlinux-377bcd5f3b7f46f50fdad1fed639c07f8c9f68cb.tar.xz
linux-377bcd5f3b7f46f50fdad1fed639c07f8c9f68cb.zip
xfs: Remove kmem_zone_free() wrapper
We can remove it now, without needing to rework the KM_ flags. Use kmem_cache_free() directly. Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_btree.c')
-rw-r--r--fs/xfs/libxfs/xfs_btree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_btree.c b/fs/xfs/libxfs/xfs_btree.c
index 8f0e3a368f38..e2cc98931552 100644
--- a/fs/xfs/libxfs/xfs_btree.c
+++ b/fs/xfs/libxfs/xfs_btree.c
@@ -382,7 +382,7 @@ xfs_btree_del_cursor(
/*
* Free the cursor.
*/
- kmem_zone_free(xfs_btree_cur_zone, cur);
+ kmem_cache_free(xfs_btree_cur_zone, cur);
}
/*