diff options
author | Carlos Maiolino <cmaiolino@redhat.com> | 2019-11-14 12:43:04 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-11-18 08:40:44 -0800 |
commit | 377bcd5f3b7f46f50fdad1fed639c07f8c9f68cb (patch) | |
tree | 913115425fbd1d1f34b8caa15a3e1237a2e803ed /fs/xfs/xfs_trans.c | |
parent | aaf54eb8bc15de293b0fccf3be19100793b8ba67 (diff) | |
download | linux-riscv-377bcd5f3b7f46f50fdad1fed639c07f8c9f68cb.tar.gz linux-riscv-377bcd5f3b7f46f50fdad1fed639c07f8c9f68cb.tar.bz2 linux-riscv-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/xfs_trans.c')
-rw-r--r-- | fs/xfs/xfs_trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_trans.c b/fs/xfs/xfs_trans.c index f4795fdb7389..3b208f9a865c 100644 --- a/fs/xfs/xfs_trans.c +++ b/fs/xfs/xfs_trans.c @@ -71,7 +71,7 @@ xfs_trans_free( if (!(tp->t_flags & XFS_TRANS_NO_WRITECOUNT)) sb_end_intwrite(tp->t_mountp->m_super); xfs_trans_free_dqinfo(tp); - kmem_zone_free(xfs_trans_zone, tp); + kmem_cache_free(xfs_trans_zone, tp); } /* |