qed: Add return value to qed_aio_read/write_data()
commit0596be7e6a39da44e2dcba74a97bb8b89cb71bdd
authorKevin Wolf <kwolf@redhat.com>
Thu, 17 Nov 2016 14:40:41 +0000 (17 15:40 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 26 Jun 2017 12:51:14 +0000 (26 14:51 +0200)
tree6cd806feeea75522db77d85b909188ce09ad6bd1
parentd6daddcdeb2c0c7d443cb039e798a1671dafdd0d
qed: Add return value to qed_aio_read/write_data()

Don't recurse into qed_aio_next_io() and qed_aio_complete() here, but
just return an error code and let the caller handle it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qed.c
block/qed.h