diff options
author | Dave Chinner <dchinner@redhat.com> | 2024-02-27 06:01:26 +0300 |
---|---|---|
committer | Chandan Babu R <chandanbabu@kernel.org> | 2024-02-28 11:34:45 +0300 |
commit | b8c0d6fa4165fc5b98c191c6643cda40e7a1d420 (patch) | |
tree | 4c54568c26a6381ecc8ba9a65826988ebf9352ca /mm | |
parent | 3aca0676a1141c4d198f8b3c934435941ba84244 (diff) | |
download | linux-b8c0d6fa4165fc5b98c191c6643cda40e7a1d420.tar.xz |
xfs: use kvfree() in xlog_cil_free_logvec()
The xfs_log_vec items are allocated by xlog_kvmalloc(), and so need
to be freed with kvfree. This was missed when coverting from the
kmem_free() API.
Fixes: 49292576136f ("xfs: convert kmem_free() for kvmalloc users to kvfree()")
Reported-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions