Message ID | 20190227060552.3841-2-wqu@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs-progs: check: Use fs/subvol trees to fix extent tree, not vice versa | expand |
diff --git a/check/mode-lowmem.c b/check/mode-lowmem.c index fc6228a05a1b..bbda2bb23c65 100644 --- a/check/mode-lowmem.c +++ b/check/mode-lowmem.c @@ -2039,7 +2039,7 @@ static int check_file_extent(struct btrfs_root *root, struct btrfs_path *path, } } - *end += extent_num_bytes; + *end = fkey.offset + extent_num_bytes; if (!is_hole) *size += extent_num_bytes;