Btrfs: fix scrub_print_warning to handle skinny metadata extents

commit 6eda71d0c0 upstream.

The skinny extents are intepreted incorrectly in scrub_print_warning(),
and end up hitting the BUG() in btrfs_extent_inline_ref_size.

Reported-by: Konstantinos Skarlatos <k.skarlatos@gmail.com>
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Chris Mason <clm@fb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Liu Bo 2014-06-09 10:54:07 +08:00 • committed by Greg Kroah-Hartman
commit eed31172a3
3 changed files with 24 additions and 15 deletions