]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: rename xfs_bmap_add_free to xfs_free_extent_later
authorDarrick J. Wong <djwong@kernel.org>
Thu, 6 Jan 2022 22:13:23 +0000 (14:13 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 30 Mar 2022 03:21:52 +0000 (20:21 -0700)
commit5c88ddda8a4a1cc9a80cc5ee90873e6f8a2b1a4e
tree138f4f24d72bd458020b62908ea97a047ecdce12
parent0bdabe04afc0dec352ba9139b68bf27c42d6794b
xfs: rename xfs_bmap_add_free to xfs_free_extent_later

Source kernel commit: c201d9ca5392b20f04882848a071025b0e194c17

xfs_bmap_add_free isn't a block mapping function; it schedules deferred
freeing operations for a later point in a compound transaction chain.
While it's primarily used by bunmapi, its use has expanded beyond that.
Move it to xfs_alloc.c and rename the function since it's now general
freeing functionality.  Bring the slab cache bits in line with the
way we handle the other intent items.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandan.babu@oracle.com>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
12 files changed:
libxfs/defer_item.c
libxfs/init.c
libxfs/libxfs_api_defs.h
libxfs/xfs_ag.c
libxfs/xfs_alloc.c
libxfs/xfs_alloc.h
libxfs/xfs_bmap.c
libxfs/xfs_bmap.h
libxfs/xfs_bmap_btree.c
libxfs/xfs_defer.c
libxfs/xfs_ialloc.c
libxfs/xfs_refcount.c