Skip to content
Commit 94cde941 authored by David Sterba's avatar David Sterba Committed by Greg Kroah-Hartman
Browse files

btrfs: convert btrfs_block_group::needs_free_space to runtime flag



[ Upstream commit 0d7764ff ]

We already have flags in block group to track various status bits,
convert needs_free_space as well and reduce size of btrfs_block_group.

Reviewed-by: default avatarAnand Jain <anand.jain@oracle.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
Stable-dep-of: 0657b20c ("btrfs: fix use-after-free of new block group that became unused")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 01eca70e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment