Skip to content
Commit 613fa267 authored by Javier González's avatar Javier González Committed by Jens Axboe
Browse files

lightnvm: propagate right error code to target



If nvme_alloc_request fails, propagate the right error, instead of
assuming ENOMEM.

Signed-off-by: default avatarJavier González <javier@cnexlabs.com>
Signed-off-by: default avatarMatias Bjørling <matias@cnexlabs.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 3e505afb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment