]> 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)
commit7918faccae40ddd91f3df4d4463b14bad51fd512
tree28759b242c748021f8dde002aae988a6fe7bba93
parentaa73ff7d041c1953119d166a1724937732c7445d
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