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

Now that btrfs_get_extent_inline_ref_type() can report if type is a
valid one and all callers can gracefully deal with that, we don't need
to crash here.

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/ctree.h