btrfs: print more details when checking tree block finds a problem
authorSu Yue <suy.fnst@cn.fujitsu.com>
Fri, 22 Jun 2018 01:52:15 +0000 (09:52 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:12:39 +0000 (13:12 +0200)
commit893bf4b115c713738df05bb557f8fba14f07c077
tree89d7ca6d58bd468205b1af5513f9640cce958b0c
parent7b4284de93c51b1d78699bf06bccee892699aa4e
btrfs: print more details when checking tree block finds a problem

For easier debugging, print eb->start if level is invalid.  Also make
clear if bytenr found is not expected.

Signed-off-by: Su Yue <suy.fnst@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c