]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: zoned: use local fs_info variable in btrfs_load_block_group_dup()
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Fri, 23 Jan 2026 08:14:44 +0000 (09:14 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 3 Feb 2026 06:56:23 +0000 (07:56 +0100)
commit3fe608dbac8c3d714472fab424bf522f39a3f60b
treecf2f4892670000d11934e6610cac31d430b230f1
parent52ee9965d09b2c56a027613db30d1fb20d623861
btrfs: zoned: use local fs_info variable in btrfs_load_block_group_dup()

btrfs_load_block_group_dup() has a local pointer to fs_info, yet the
error prints dereference fs_info from the block_group.

Use local fs_info variable to make the code more uniform.

Reviewed-by: Daniel Vacek <neelx@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/zoned.c