summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_log.c
diff options
context:
space:
mode:
authorCarlos Maiolino <cmaiolino@redhat.com>2019-11-14 12:43:04 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2019-11-18 08:40:44 -0800
commit377bcd5f3b7f46f50fdad1fed639c07f8c9f68cb (patch)
tree913115425fbd1d1f34b8caa15a3e1237a2e803ed /fs/xfs/xfs_log.c
parentaaf54eb8bc15de293b0fccf3be19100793b8ba67 (diff)
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/xfs_log.c')
-rw-r--r--fs/xfs/xfs_log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c
index 3806674090ed..6a147c63a8a6 100644
--- a/fs/xfs/xfs_log.c
+++ b/fs/xfs/xfs_log.c
@@ -3468,7 +3468,7 @@ xfs_log_ticket_put(
{
ASSERT(atomic_read(&ticket->t_ref) > 0);
if (atomic_dec_and_test(&ticket->t_ref))
- kmem_zone_free(xfs_log_ticket_zone, ticket);
+ kmem_cache_free(xfs_log_ticket_zone, ticket);
}
xlog_ticket_t *