summaryrefslogtreecommitdiff
path: root/drivers/md/dm-raid.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-07-12 10:26:34 +0300
committerMike Snitzer <snitzer@redhat.com>2017-07-25 10:11:15 -0400
commitedc11d49f88e3281457853a530c9e5a5540b355a (patch)
tree07339b26077799f1164e192eadcf2178cd457285 /drivers/md/dm-raid.c
parentbc86a41e96c5b6f07453c405e036d95acc673389 (diff)
downloadlwn-edc11d49f88e3281457853a530c9e5a5540b355a.tar.gz
lwn-edc11d49f88e3281457853a530c9e5a5540b355a.zip
dm bufio: fix error code in dm_bufio_write_dirty_buffers()
We should be returning normal negative error codes here. The "a" variables comes from &c->async_write_error which is a blk_status_t converted to a regular error code. In the current code, the blk_status_t gets propogated back to pool_create() and eventually results in an Oops. Fixes: 4e4cbee93d56 ("block: switch bios to blk_status_t") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-raid.c')
0 files changed, 0 insertions, 0 deletions