Btrfs: fix scrub_print_warning to handle skinny metadata extents
authorLiu Bo <bo.li.liu@oracle.com>
Mon, 9 Jun 2014 02:54:07 +0000 (10:54 +0800)
committerChris Mason <clm@fb.com>
Tue, 10 Jun 2014 00:21:17 +0000 (17:21 -0700)
commit6eda71d0c030af0fc2f68aaa676e6d445600855b
treef649b36ac2cf1762e3ac5a8d4bd6b1cb26d99963
parent7ffbb598a059b73487909619d73150f99b50337a
Btrfs: fix scrub_print_warning to handle skinny metadata extents

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>
fs/btrfs/backref.c
fs/btrfs/backref.h
fs/btrfs/scrub.c