summaryrefslogtreecommitdiff
path: root/cmds-check.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-check.c')
-rw-r--r--cmds-check.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cmds-check.c b/cmds-check.c
index 37348a94..a65670e3 100644
--- a/cmds-check.c
+++ b/cmds-check.c
@@ -5040,7 +5040,6 @@ static int check_extent_refs(struct btrfs_trans_handle *trans,
int err = 0;
int ret = 0;
int fixed = 0;
- int reinit = 0;
int had_dups = 0;
if (repair) {
@@ -5066,8 +5065,6 @@ static int check_extent_refs(struct btrfs_trans_handle *trans,
cache = next_cache_extent(cache);
}
prune_corrupt_blocks(trans, root->fs_info);
- if (reinit)
- btrfs_read_block_groups(root->fs_info->extent_root);
reset_cached_block_groups(root->fs_info);
}