Commit 7d5ba7ca authored by Dave Chinner's avatar Dave Chinner Committed by Chandan Babu R

xfs: use kvfree in xfs_ioc_getfsmap()

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

Fixes: 49292576 ("xfs: convert kmem_free() for kvmalloc users to kvfree()")
Signed-off-by: default avatarDave Chinner <dchinner@redhat.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarChandan Babu R <chandanbabu@kernel.org>
parent 661723c3
......@@ -1636,7 +1636,7 @@ xfs_ioc_getfsmap(
}
out_free:
kfree(recs);
kvfree(recs);
return error;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment