]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: don't call xfs_can_free_eofblocks from ->release for zoned inodes
authorChristoph Hellwig <hch@lst.de>
Thu, 21 Nov 2024 07:50:23 +0000 (08:50 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Mar 2025 15:16:46 +0000 (08:16 -0700)
commitfc04408c4718ee2e637e823c8d13f652e18229ce
tree3027fcc54800179e69e1a2d21df35ba8e2ada981
parentf044dda35124bca5da6d3ad6885ba2c542bfe68f
xfs: don't call xfs_can_free_eofblocks from ->release for zoned inodes

Zoned file systems require out of place writes and thus can't support
post-EOF speculative preallocations.  Avoid the pointless ilock critical
section to find out that none can be freed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
fs/xfs/xfs_file.c