xfs: hide xfs_icache_free_eofblocks
authorDarrick J. Wong <djwong@kernel.org>
Sat, 23 Jan 2021 00:48:40 +0000 (16:48 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 3 Feb 2021 17:18:49 +0000 (09:18 -0800)
commit0461a320e33a16405ac3c165463837e028a42680
tree8fe1cd95126eea4f42158d3eb30022d10d2bc7be
parentf9296569837c3fd66ae32717b0f8f5a26758b4b7
xfs: hide xfs_icache_free_eofblocks

Change the one remaining caller of xfs_icache_free_eofblocks to use our
new combined blockgc scan function instead, since we will soon be
combining the two scans.  This introduces a slight behavior change,
since the XFS_IOC_FREE_EOFBLOCKS now clears out speculative CoW
reservations in addition to post-eof blocks.

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