mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-25 23:52:17 +00:00
btrfs-porgs: check: rename variable to avoid shadowing
Reported by gcc -Wshadow . Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
df3a134d0e
commit
39e98213eb
@ -9218,11 +9218,11 @@ static int build_roots_info_cache(struct btrfs_fs_info *info)
|
||||
iref = (struct btrfs_extent_inline_ref *)(ei + 1);
|
||||
level = found_key.offset;
|
||||
} else {
|
||||
struct btrfs_tree_block_info *info;
|
||||
struct btrfs_tree_block_info *binfo;
|
||||
|
||||
info = (struct btrfs_tree_block_info *)(ei + 1);
|
||||
iref = (struct btrfs_extent_inline_ref *)(info + 1);
|
||||
level = btrfs_tree_block_level(leaf, info);
|
||||
binfo = (struct btrfs_tree_block_info *)(ei + 1);
|
||||
iref = (struct btrfs_extent_inline_ref *)(binfo + 1);
|
||||
level = btrfs_tree_block_level(leaf, binfo);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user