Liu Bo f5daf2c780 Btrfs: fix BUG_ON in btrfs_submit_compressed_write
This is similar to btrfs_submit_compressed_read(), if we fail after
bio is allocated, then we can use bio_endio() and errors are saved
 in bio->bi_error.  But please note that we don't return errors to
its caller because the caller assumes it won't call endio to cleanup
on error.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2016-07-26 13:52:25 +02:00
..
2016-07-26 13:52:25 +02:00
2016-07-26 13:52:25 +02:00
2016-07-26 13:52:25 +02:00
2015-10-06 06:55:23 -07:00
2016-07-26 13:52:25 +02:00
2016-07-26 13:52:25 +02:00
2016-07-26 13:52:25 +02:00
2016-07-26 13:52:25 +02:00