xfs: use kvfree in xfs_ioc_getfsmap()

Another incorrect conversion to kfree() instead of kvfree().

Fixes: 4929257613 ("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>
This commit is contained in:
Dave Chinner 2024-02-20 11:24:41 +11:00 committed by Chandan Babu R
parent 661723c3bd
commit 7d5ba7ca6a
1 changed files with 1 additions and 1 deletions

View File

@ -1636,7 +1636,7 @@ xfs_ioc_getfsmap(
}
out_free:
kfree(recs);
kvfree(recs);
return error;
}