]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: hide xfs_icache_free_cowblocks
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)
commitd62e1061ac8515a149e867365dee99d3ebb22c16
treea34aff837f4133c6980fa6ab6210cc023f09fadf
parent75bde928f7fde4d547eb2c87e3fa9146307617ed
xfs: hide xfs_icache_free_cowblocks

Change the one remaining caller of xfs_icache_free_cowblocks 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 a readonly remount now clears out post-EOF preallocations and not
just CoW staging extents.

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_super.c