Commit d7f27d07 authored by Josef Bacik's avatar Josef Bacik Committed by Greg Kroah-Hartman
Browse files

Btrfs: remove BUG_ON()'s in btrfs_map_block



commit e042d1ec upstream.

btrfs_map_block can go horribly wrong in the face of fs corruption, lets agree
to not be assholes and panic at any possible chance things are all fucked up.

Signed-off-by: default avatarJosef Bacik <jbacik@fb.com>
[ removed type casts ]
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b737cf51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment