]> git.ipfire.org Git - thirdparty/linux.git/commit
xfs: remove xfs_zone_gc_space_available
authorChristoph Hellwig <hch@lst.de>
Tue, 27 Jan 2026 15:10:21 +0000 (16:10 +0100)
committerCarlos Maiolino <cem@kernel.org>
Thu, 29 Jan 2026 09:57:18 +0000 (10:57 +0100)
commit7da4ebea8332e6b2fb15edc71e5443c15826af49
tree3620014fa56406d4a3d8d5e0f60388b8acbdd593
parentc17a1c03493bee4e7882ac79a52b8150cb464e56
xfs: remove xfs_zone_gc_space_available

xfs_zone_gc_space_available only has one caller left, so fold it into
that.  Reorder the checks so that the cheaper scratch_available check
is done first.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_zone_gc.c