btrfs-progs: factor out repair mode
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
bbebe814c0
commit
72e2a08a5c
|
@ -67,7 +67,6 @@ static u64 data_bytes_referenced = 0;
|
|||
static int found_old_backref = 0;
|
||||
static LIST_HEAD(duplicate_extents);
|
||||
static LIST_HEAD(delete_items);
|
||||
static int repair = 0;
|
||||
static int no_holes = 0;
|
||||
static int init_extent_tree = 0;
|
||||
static int check_data_csum = 0;
|
||||
|
|
2
repair.c
2
repair.c
|
@ -21,6 +21,8 @@
|
|||
#include "utils.h"
|
||||
#include "repair.h"
|
||||
|
||||
int repair = 0;
|
||||
|
||||
int btrfs_add_corrupt_extent_record(struct btrfs_fs_info *info,
|
||||
struct btrfs_key *first_key,
|
||||
u64 start, u64 len, int level)
|
||||
|
|
Loading…
Reference in New Issue