summaryrefslogtreecommitdiff
path: root/cmds-check.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-01-12 14:34:41 +0100
committerDavid Sterba <dsterba@suse.com>2016-01-12 15:02:56 +0100
commit39e98213ebc05a43c61328bc940dd454361af749 (patch)
tree562d9d941a8efde61f052ea197c6be780aa3fe4d /cmds-check.c
parentdf3a134d0e49acd67c891100ef12fd6bfc06eaed (diff)
btrfs-porgs: check: rename variable to avoid shadowing
Reported by gcc -Wshadow . Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-check.c')
-rw-r--r--cmds-check.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmds-check.c b/cmds-check.c
index 680fc875..0165fba4 100644
--- a/cmds-check.c
+++ b/cmds-check.c
@@ -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);
}
/*