]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Btrfs: remove BUG_ON()'s in btrfs_map_block
authorJosef Bacik <jbacik@fb.com>
Tue, 12 Apr 2016 16:54:40 +0000 (12:54 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 01:18:55 +0000 (18:18 -0700)
commitd7f27d079b583d2d7db5ad498b16fd3d097da424
tree0e9906fed6446676a37a8e9c88fadc795d231a51
parentb737cf51eeb14e6bfd3a87264c72835693bba3ec
Btrfs: remove BUG_ON()'s in btrfs_map_block

commit e042d1ec4417981dfe9331e47b76f17929bc2ffe 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: Josef Bacik <jbacik@fb.com>
[ removed type casts ]
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/btrfs/volumes.c