diff options
author | Christoph Hellwig <hch@lst.de> | 2024-02-16 18:02:30 +0100 |
---|---|---|
committer | Chandan Babu R <chandanbabu@kernel.org> | 2024-02-19 09:47:31 +0530 |
commit | 49c379d3a72ab86aafeafebe6b43577acb1ef359 (patch) | |
tree | b33153d497040b3d56ee86e2541c9a5f9761bf72 /fs/xfs/libxfs/xfs_trans_inode.c | |
parent | e4c3b72a6ea93ed9c1815c74312eee9305638852 (diff) | |
download | linux-49c379d3a72ab86aafeafebe6b43577acb1ef359.tar.gz linux-49c379d3a72ab86aafeafebe6b43577acb1ef359.tar.bz2 linux-49c379d3a72ab86aafeafebe6b43577acb1ef359.zip |
xfs: use kvfree for buf in xfs_ioc_getbmap
Without this the kernel crashes in kfree for files with a sufficiently
large number of extents.
Fixes: d4c75a1b40cd ("xfs: convert remaining kmem_free() to kfree()")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_trans_inode.c')
0 files changed, 0 insertions, 0 deletions