]> git.baikalelectronics.ru Git - kernel.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)
committerDavid Sterba <dsterba@suse.com>
Fri, 6 May 2016 13:22:49 +0000 (15:22 +0200)
commit796694b20cea1d2e4b0ce599daf404b22f8309ba
tree28759b242c748021f8dde002aae988a6fe7bba93
parentb062349c6c4972fef821b27fac49c96deeac70ba
Btrfs: remove BUG_ON()'s in btrfs_map_block

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>
fs/btrfs/volumes.c