summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_ioctl.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-03-23 16:59:31 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-04-07 14:38:21 -0700
commit7d88329e5b0fe636e63e2b1f078696bc85780442 (patch)
tree5555d8aeb2fc81fbdbdb21ed60a2eff70474cf8c /fs/xfs/xfs_ioctl.c
parent2b156ff8c82eed24d2b06520923856946143ba17 (diff)
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/xfs_ioctl.c')
0 files changed, 0 insertions, 0 deletions