Displaying 1 result from an estimated 1 matches for "duplicate_extents".
2013 Oct 22
0
[PATCH] Btrfs-progs: add support for the no holes incompat flag
...5 +++--
mkfs.c | 2 ++
3 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/cmds-check.c b/cmds-check.c
index 668af15..a6047ea 100644
--- a/cmds-check.c
+++ b/cmds-check.c
@@ -50,6 +50,7 @@ static u64 data_bytes_referenced = 0;
static int found_old_backref = 0;
static LIST_HEAD(duplicate_extents);
static int repair = 0;
+static int no_holes = 0;
struct extent_backref {
struct list_head list;
@@ -443,8 +444,9 @@ static void maybe_free_inode_rec(struct cache_tree *inode_cache,
rec->errors |= I_ERR_FILE_NBYTES_WRONG;
if (rec->extent_start == (u64)-1 || rec->extent_start...