summaryrefslogtreecommitdiff
path: root/tools/docs/lib/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorMark Harmstone <mark@harmstone.com>2026-01-13 18:37:56 +0000
committerDavid Sterba <dsterba@suse.com>2026-01-20 17:18:47 +0100
commit1d8f69f453c2e8a2d99b158e58e02ed65031fa6d (patch)
tree905847347ef4bc7a46d0b96437e5fbe212544362 /tools/docs/lib/git@git.tavy.me:linux.git
parent1972f44c189c8aacde308fa9284e474c1a5cbd9f (diff)
btrfs: fix missing fields in superblock backup with BLOCK_GROUP_TREE
When the BLOCK_GROUP_TREE compat_ro flag is set, the extent root and csum root fields are getting missed. This is because EXTENT_TREE_V2 treated these differently, and when they were split off this special-casing was mistakenly assigned to BGT rather than the rump EXTENT_TREE_V2. There's no reason why the existence of the block group tree should mean that we don't record the details of the last commit's extent root and csum root. Fix the code in backup_super_roots() so that the correct check gets made. Fixes: 1c56ab991903 ("btrfs: separate BLOCK_GROUP_TREE compat RO flag from EXTENT_TREE_V2") Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Mark Harmstone <mark@harmstone.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/docs/lib/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions