diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-12-06 18:40:57 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-12-06 18:45:18 -0800 |
commit | 4c88fef3af4a51c2cdba6a28237e98da4873e8dc (patch) | |
tree | fd2acaa34053ff148e582d366d58a14e779ac913 /fs/xfs/libxfs/xfs_ialloc_btree.c | |
parent | 4dffb2cbb4839fd6f9bbac0b3fd06cc9015cbb9b (diff) | |
download | linux-4c88fef3af4a51c2cdba6a28237e98da4873e8dc.tar.gz linux-4c88fef3af4a51c2cdba6a28237e98da4873e8dc.tar.bz2 linux-4c88fef3af4a51c2cdba6a28237e98da4873e8dc.zip |
xfs: remove __xfs_free_extent_later
xfs_free_extent_later is a trivial helper, so remove it to reduce the
amount of thinking required to understand the deferred freeing
interface. This will make it easier to introduce automatic reaping of
speculative allocations in the next patch.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc_btree.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_ialloc_btree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_ialloc_btree.c b/fs/xfs/libxfs/xfs_ialloc_btree.c index 9258f01c0015..42a5e1f227a0 100644 --- a/fs/xfs/libxfs/xfs_ialloc_btree.c +++ b/fs/xfs/libxfs/xfs_ialloc_btree.c @@ -161,7 +161,7 @@ __xfs_inobt_free_block( xfs_inobt_mod_blockcount(cur, -1); fsbno = XFS_DADDR_TO_FSB(cur->bc_mp, xfs_buf_daddr(bp)); return xfs_free_extent_later(cur->bc_tp, fsbno, 1, - &XFS_RMAP_OINFO_INOBT, resv); + &XFS_RMAP_OINFO_INOBT, resv, false); } STATIC int |