aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2024-02-20 11:24:41 +1100
committerChandan Babu R <chandanbabu@kernel.org>2024-02-20 10:38:14 +0530
commit7d5ba7ca6a4525b8908c285c2949bb946dfbbc54 (patch)
tree4763ba0390407be202b93fa671f01e6240fcb09d /fs/xfs
parent661723c3bdaffa7d970a59987e37026bc5ed5657 (diff)
downloadlinux-7d5ba7ca6a4525b8908c285c2949bb946dfbbc54.tar.gz
xfs: use kvfree in xfs_ioc_getfsmap()
Another incorrect conversion to kfree() instead of kvfree(). Fixes: 49292576136f ("xfs: convert kmem_free() for kvmalloc users to kvfree()") Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/xfs_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c
index 9d6a75262045d..d0e2cec6210dd 100644
--- a/fs/xfs/xfs_ioctl.c
+++ b/fs/xfs/xfs_ioctl.c
@@ -1636,7 +1636,7 @@ xfs_ioc_getfsmap(
}
out_free:
- kfree(recs);
+ kvfree(recs);
return error;
}