diff options
author | 2016-06-22 18:31:49 -0700 | |
---|---|---|
committer | 2016-07-26 13:52:25 +0200 | |
commit | 6f034ece3422d8d4fbe0afe7cd8c2ac6438e651e (patch) | |
tree | 6fdb039ab1960d335bb981df75a8839d5421933b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: Fix slab accounting flags (diff) | |
download | linux-dev-6f034ece3422d8d4fbe0afe7cd8c2ac6438e651e.tar.xz linux-dev-6f034ece3422d8d4fbe0afe7cd8c2ac6438e651e.zip |
Btrfs: cleanup BUG_ON in merge_bio
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 <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions