]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: remove BUG() in print_extent_item
authorLiu Bo <bo.li.liu@oracle.com>
Fri, 18 Aug 2017 21:15:21 +0000 (15:15 -0600)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Aug 2017 15:47:43 +0000 (17:47 +0200)
commita4af39089c9a8e8ad3ce64e906391c160e8829a2
tree5f2e4f8b97a4c3d5de3eee1e82cbfe0c1aa1aa48
parent4f842febfa63bf60e2f52ca2b135577445482c3c
Btrfs: remove BUG() in print_extent_item

btrfs_print_leaf() is used in btrfs_get_extent_inline_ref_type, so
here we really want to print the invalid value of ref type instead of
causing a kernel panic.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/print-tree.c