On Wed, Jun 22, 2016 at 06:31:49PM -0700, Liu Bo wrote: > One can use btrfs-corrupt-block to hit BUG_ON() in merge_bio(), > thus this aims to stop anyone to panic the whole system by using > their btrfs. > > Since the error in merge_bio can only come from __btrfs_map_block() > when chunk tree mapping has something insane and __btrfs_map_block() > has already had printed the reason, we can just return errors in > merge_bio. > > Signed-off-by: Liu Bo <[email protected]>
Reviewed-by: David Sterba <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
