diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-01-25 21:09:49 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-02-03 09:18:50 -0800 |
commit | 0fa4a10a2f5f96a06373ea81f8cd5f97c5cc264f (patch) | |
tree | bdff5ecfbd5d0e0f7770252dd2a50d829bc37a5b /fs/exfat/misc.c | |
parent | 47bd6d3457fb96d287278027aed8a78d14f1d32d (diff) | |
download | linux-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/exfat/misc.c')
0 files changed, 0 insertions, 0 deletions