summaryrefslogtreecommitdiff
path: root/btrfs-map-logical.c
diff options
context:
space:
mode:
authorSu Yue <suy.fnst@cn.fujitsu.com>2018-02-08 11:27:22 +0800
committerDavid Sterba <dsterba@suse.com>2018-06-07 16:32:03 +0200
commitcb1fbe71ae88fc307b99f9595fc9e7d65974f75f (patch)
treefdc3d05cde7154d350844021fef562f41ecae8df /btrfs-map-logical.c
parentbbf1e8a400d73b5ff2047a584b79db9d3392dc5c (diff)
btrfs-progs: check: lowmem: assign parent early in repair_extent_data_item
The variable @eb is assigned to leaf in fs_tree before insertion of backref. It will cause wrong parent of new inserted backref. Set @parent at beginning to fix the problem. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'btrfs-map-logical.c')
0 files changed, 0 insertions, 0 deletions