Re: [PATCH AUTOSEL 5.10 1/7] btrfs: add and use helper to check if block group is used

From: Sasha Levin
Date: Mon Mar 18 2024 - 10:18:50 EST


On Mon, Mar 11, 2024 at 10:05:40PM +0100, David Sterba wrote:
On Mon, Mar 11, 2024 at 10:00:43PM +0100, Pavel Machek wrote:
Hi!

> From: Filipe Manana <fdmanana@xxxxxxxx>
>
> [ Upstream commit 1693d5442c458ae8d5b0d58463b873cd879569ed ]
>
> Add a helper function to determine if a block group is being used and make
> use of it at btrfs_delete_unused_bgs(). This helper will also be used in
> future code changes.

Does not fix a bug and does not seem to be preparation for anything,
so probably should not be here.

Agreed, this patch does not belong to stable and I objected in
https://lore.kernel.org/all/20240229155207.GA2604@xxxxxxx/

for version 6.7 and all other stable versions.

Dropped, thanks!

--
Thanks,
Sasha