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
@@ -107,7 +107,7 @@ xfs_da_state_free(xfs_da_state_t *state)
|
||||
#ifdef DEBUG
|
||||
memset((char *)state, 0, sizeof(*state));
|
||||
#endif /* DEBUG */
|
||||
kmem_zone_free(xfs_da_state_zone, state);
|
||||
kmem_cache_free(xfs_da_state_zone, state);
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user