diff options
author | Carlos Maiolino <cmaiolino@redhat.com> | 2019-11-14 21:43:04 +0100 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-11-18 17:40:44 +0100 |
commit | 377bcd5f3b7f46f50fdad1fed639c07f8c9f68cb (patch) | |
tree | 913115425fbd1d1f34b8caa15a3e1237a2e803ed /fs/xfs/xfs_dquot.c | |
parent | xfs: Remove kmem_zone_destroy() wrapper (diff) | |
download | linux-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/xfs_dquot.c')
-rw-r--r-- | fs/xfs/xfs_dquot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dquot.c b/fs/xfs/xfs_dquot.c index e980e736bde2..2bff21ca9d78 100644 --- a/fs/xfs/xfs_dquot.c +++ b/fs/xfs/xfs_dquot.c @@ -56,7 +56,7 @@ xfs_qm_dqdestroy( mutex_destroy(&dqp->q_qlock); XFS_STATS_DEC(dqp->q_mount, xs_qm_dquot); - kmem_zone_free(xfs_qm_dqzone, dqp); + kmem_cache_free(xfs_qm_dqzone, dqp); } /* |