summaryrefslogtreecommitdiffstats
path: root/fs/xfs/scrub
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-03-24 00:59:31 +0100
committerDarrick J. Wong <djwong@kernel.org>2021-04-07 23:38:21 +0200
commit7d88329e5b0fe636e63e2b1f078696bc85780442 (patch)
tree5555d8aeb2fc81fbdbdb21ed60a2eff70474cf8c /fs/xfs/scrub
parentxfs: move the xfs_can_free_eofblocks call under the IOLOCK (diff)
downloadlinux-7d88329e5b0fe636e63e2b1f078696bc85780442.tar.xz
linux-7d88329e5b0fe636e63e2b1f078696bc85780442.zip
xfs: move the check for post-EOF mappings into xfs_can_free_eofblocks
Fix the weird split of responsibilities between xfs_can_free_eofblocks and xfs_free_eofblocks by moving the chunk of code that looks for any actual post-EOF space mappings from the second function into the first. This clears the way for deferred inode inactivation to be able to decide if an inode needs inactivation work before committing the released inode to the inactivation code paths (vs. marking it for reclaim). Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/scrub')
0 files changed, 0 insertions, 0 deletions