diff options
author | Carlos Maiolino <cmaiolino@redhat.com> | 2019-11-14 23:43:04 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-11-18 19:40:44 +0300 |
commit | aaf54eb8bc15de293b0fccf3be19100793b8ba67 (patch) | |
tree | 30f9e0689231c63c48c3fea7407d13e245fb57ef /fs/xfs/xfs_dquot.c | |
parent | b1231760e44324d4cdb1b02116670c1ad2126e54 (diff) | |
download | linux-aaf54eb8bc15de293b0fccf3be19100793b8ba67.tar.xz |
xfs: Remove kmem_zone_destroy() wrapper
Use kmem_cache_destroy 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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/xfs/xfs_dquot.c b/fs/xfs/xfs_dquot.c index 64c9badded69..e980e736bde2 100644 --- a/fs/xfs/xfs_dquot.c +++ b/fs/xfs/xfs_dquot.c @@ -1226,7 +1226,7 @@ xfs_qm_init(void) return 0; out_free_dqzone: - kmem_zone_destroy(xfs_qm_dqzone); + kmem_cache_destroy(xfs_qm_dqzone); out: return -ENOMEM; } @@ -1234,8 +1234,8 @@ out: void xfs_qm_exit(void) { - kmem_zone_destroy(xfs_qm_dqtrxzone); - kmem_zone_destroy(xfs_qm_dqzone); + kmem_cache_destroy(xfs_qm_dqtrxzone); + kmem_cache_destroy(xfs_qm_dqzone); } /* |