Skip to content
Permalink
Browse files

btrfs-progs: tmp fix: lowmem: do not account data backrefs in reloc tree

This is temporary fix for Marc MERLIN.

Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
  • Loading branch information
Su Yue
Su Yue committed Jun 29, 2018
1 parent 33d16ff commit b5851513a12237b3e19a3e71f3ad00b966d25b3a
Showing with 2 additions and 1 deletion.
  1. +2 −1 check/mode-lowmem.c
@@ -3623,7 +3623,8 @@ static int check_extent_data_backref(struct btrfs_fs_info *fs_info,
if (btrfs_file_extent_disk_bytenr(leaf, fi) == bytenr &&
btrfs_file_extent_disk_num_bytes(leaf, fi) == len &&
(u64)(key.offset - btrfs_file_extent_offset(leaf, fi)) ==
offset && btrfs_header_owner(leaf) == root_id)
offset && btrfs_header_owner(leaf) == root_id &&
!btrfs_header_flag(leaf, BTRFS_HEADER_FLAG_RELOC))
found_count++;

next:

0 comments on commit b585151

Please sign in to comment.
You can’t perform that action at this time.