On Mon, Feb 22, 2021 at 01:16:39PM +0100, David Sterba wrote: > From: David Sterba <dsterba@xxxxxxx> > > There's a mistake in backport of upstream commit 2175bf57dc95 ("btrfs: > fix possible free space tree corruption with online conversion") as > 5.4.95 commit e1ae9aab8029. > > The enum value BTRFS_FS_FREE_SPACE_TREE_UNTRUSTED has been added to the > wrong enum set, colliding with value of BTRFS_FS_QUOTA_ENABLE. This > could cause problems during the tree conversion, where the quotas > wouldn't be set up properly but the related code executed anyway due to > the bit set. > > Link: https://lore.kernel.org/linux-btrfs/20210219111741.95DD.409509F4@xxxxxxxxxxxx > Reported-by: Wang Yugui <wangyugui@xxxxxxxxxxxx> > CC: stable@xxxxxxxxxxxxxxx # 5.4.95+ > Signed-off-by: David Sterba <dsterba@xxxxxxxx> > --- > > This is same fix that went to 5.10.x, with refreshed diff so it applies > cleanly on 5.4.x and with updated references. Now queued up, thanks. greg k-h