]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: convert remaining kmem_free() to kfree()
authorDave Chinner <dchinner@redhat.com>
Mon, 22 Apr 2024 17:00:50 +0000 (10:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:35 +0000 (11:37 -0700)
commit336b689ac26f70eb99b900c961869bc743f314b9
treee8856acadd3603520ac40f0f7ca9ab69e70c2a70
parent522339840505765e1d04a7c79751e8f0170a8904
xfs: convert remaining kmem_free() to kfree()

Source kernel commit: d4c75a1b40cd036a84d98e2711db9cf30eaaaf5f

The remaining callers of kmem_free() are freeing heap memory, so
we can convert them directly to kfree() and get rid of kmem_free()
altogether.

This conversion was done with:

$ for f in `git grep -l kmem_free fs/xfs`; do
> sed -i s/kmem_free/kfree/ $f
> done
$

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
libxfs/xfs_ag.c
libxfs/xfs_attr_leaf.c
libxfs/xfs_btree.c
libxfs/xfs_btree_staging.c
libxfs/xfs_da_btree.c
libxfs/xfs_defer.c
libxfs/xfs_dir2.c
libxfs/xfs_dir2_block.c
libxfs/xfs_dir2_sf.c
libxfs/xfs_iext_tree.c
libxfs/xfs_inode_fork.c