diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-03-24 02:59:31 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-04-08 00:38:21 +0300 |
commit | 7d88329e5b0fe636e63e2b1f078696bc85780442 (patch) | |
tree | 5555d8aeb2fc81fbdbdb21ed60a2eff70474cf8c /fs/xfs/xfs_ioctl.c | |
parent | 2b156ff8c82eed24d2b06520923856946143ba17 (diff) | |
download | linux-7d88329e5b0fe636e63e2b1f078696bc85780442.tar.xz |
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