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

From: David Sterba
Date: Mon Mar 11 2024 - 17:13:10 EST


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.