xfs: rename xfs_bmap_add_free to xfs_free_extent_later
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>
Showing
- fs/xfs/libxfs/xfs_ag.c 1 addition, 1 deletionfs/xfs/libxfs/xfs_ag.c
- fs/xfs/libxfs/xfs_alloc.c 67 additions, 4 deletionsfs/xfs/libxfs/xfs_alloc.c
- fs/xfs/libxfs/xfs_alloc.h 32 additions, 0 deletionsfs/xfs/libxfs/xfs_alloc.h
- fs/xfs/libxfs/xfs_bmap.c 2 additions, 53 deletionsfs/xfs/libxfs/xfs_bmap.c
- fs/xfs/libxfs/xfs_bmap.h 0 additions, 28 deletionsfs/xfs/libxfs/xfs_bmap.h
- fs/xfs/libxfs/xfs_bmap_btree.c 1 addition, 1 deletionfs/xfs/libxfs/xfs_bmap_btree.c
- fs/xfs/libxfs/xfs_defer.c 5 additions, 0 deletionsfs/xfs/libxfs/xfs_defer.c
- fs/xfs/libxfs/xfs_ialloc.c 2 additions, 2 deletionsfs/xfs/libxfs/xfs_ialloc.c
- fs/xfs/libxfs/xfs_refcount.c 3 additions, 3 deletionsfs/xfs/libxfs/xfs_refcount.c
- fs/xfs/xfs_extfree_item.c 3 additions, 3 deletionsfs/xfs/xfs_extfree_item.c
- fs/xfs/xfs_reflink.c 1 addition, 1 deletionfs/xfs/xfs_reflink.c
- fs/xfs/xfs_super.c 1 addition, 10 deletionsfs/xfs/xfs_super.c
Loading
Please register or sign in to comment