aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorLiu Bo <[email protected]>2016-06-22 18:32:06 -0700
committerDavid Sterba <[email protected]>2016-07-26 13:52:25 +0200
commitf5daf2c780f2ddfddbf98f2eb668f026c4dd2e5d (patch)
treed8591b80d5797a1cd8ed969b37e3e349417a9c86 /lib/cpu-notifier-error-inject.c
parente2bf6e89b4c71ea08223f13a700cfd0b576f7e7a (diff)
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 <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions