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>
This commit is contained in:

committed by
Darrick J. Wong

parent
aaf54eb8bc
commit
377bcd5f3b
@@ -55,7 +55,7 @@ STATIC void
|
||||
xfs_icreate_item_release(
|
||||
struct xfs_log_item *lip)
|
||||
{
|
||||
kmem_zone_free(xfs_icreate_zone, ICR_ITEM(lip));
|
||||
kmem_cache_free(xfs_icreate_zone, ICR_ITEM(lip));
|
||||
}
|
||||
|
||||
static const struct xfs_item_ops xfs_icreate_item_ops = {
|
||||
|
Reference in New Issue
Block a user