summaryrefslogtreecommitdiffstats
path: root/fs/pnode.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-01-25 21:09:49 -0800
committerDarrick J. Wong <djwong@kernel.org>2021-02-03 09:18:50 -0800
commit0fa4a10a2f5f96a06373ea81f8cd5f97c5cc264f (patch)
treebdff5ecfbd5d0e0f7770252dd2a50d829bc37a5b /fs/pnode.c
parent47bd6d3457fb96d287278027aed8a78d14f1d32d (diff)
downloadlinux-stable-0fa4a10a2f5f96a06373ea81f8cd5f97c5cc264f.tar.gz
linux-stable-0fa4a10a2f5f96a06373ea81f8cd5f97c5cc264f.tar.bz2
linux-stable-0fa4a10a2f5f96a06373ea81f8cd5f97c5cc264f.zip
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/pnode.c')
0 files changed, 0 insertions, 0 deletions