btrfs-progs: check/lowmem: Fix the incorrect error message of check_extent_data_item
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>
Wed, 28 Feb 2018 10:13:21 +0000 (18:13 +0800)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Mar 2018 20:15:53 +0000 (22:15 +0200)
commit634e73e9d3464e7a333eda10ef3e5652d8d32293
treef93749ddbf4fe5c36339a24df9380f5d72249093
parent14bf2b546d1cdc4ea20304d2fb7d67d75f8a2c55
btrfs-progs: check/lowmem: Fix the incorrect error message of check_extent_data_item

Instead of the disk_bytenr and disk_num_bytes of the extent_item which the
file extent references, we should output the objectid and offset of the
file extent. And the leaf may be shared by the file trees, we should print
the objectid of the root and the owner of the leaf.

Fixes: b0d360b541f0 ("btrfs-progs: check: introduce function to check data backref in extent tree")
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
check/mode-lowmem.c