commit | 2b156ff8c82eed24d2b06520923856946143ba17 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Tue Mar 23 16:59:31 2021 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Wed Apr 07 14:38:16 2021 -0700 |
tree | c96e1a4e53fa857c8e3c223cafb12efa31a4d5e7 | |
parent | b2941046ea85d2cd94b485831bf03402f34f4060 [diff] |
xfs: move the xfs_can_free_eofblocks call under the IOLOCK In xfs_inode_free_eofblocks, move the xfs_can_free_eofblocks call further down in the function to the point where we have taken the IOLOCK. This is preparation for the next patch, where we will need that lock (or equivalent) so that we can check if there are any post-eof blocks to clean out. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>