[PATCHv3 3/4] block: return errors from blk_execute_rq()
Ming Lei
ming.lei at redhat.com
Wed May 26 01:26:06 PDT 2021
On Fri, May 21, 2021 at 01:21:44PM -0700, Keith Busch wrote:
> The synchronous blk_execute_rq() had not provided a way for its callers
> to know if its request was successful or not. Return the blk_status_t
> result of the request.
>
> Signed-off-by: Keith Busch <kbusch at kernel.org>
> ---
> v2->v3:
>
> Return blk_status_t instead of errno.
>
> Removed "extern" header declaration, and named the parameters.
Reviewed-by: Ming Lei <ming.lei at redhat.com>
--
Ming
More information about the Linux-nvme
mailing list