summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_sb.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-01-26 08:09:49 +0300
committerDarrick J. Wong <djwong@kernel.org>2021-02-03 20:18:50 +0300
commit0fa4a10a2f5f96a06373ea81f8cd5f97c5cc264f (patch)
treebdff5ecfbd5d0e0f7770252dd2a50d829bc37a5b /fs/xfs/libxfs/xfs_sb.c
parent47bd6d3457fb96d287278027aed8a78d14f1d32d (diff)
downloadlinux-0fa4a10a2f5f96a06373ea81f8cd5f97c5cc264f.tar.xz
xfs: don't bounce the iolock between free_{eof,cow}blocks
Since xfs_inode_free_eofblocks and xfs_inode_free_cowblocks are now internal static functions, we can save ourselves a cycling of the iolock by passing the lock state out to xfs_blockgc_scan_inode and letting it do all the unlocking. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_sb.c')
0 files changed, 0 insertions, 0 deletions