+6
−5
Loading
spdk_nvmf_request_get_buffers()/_multi() may return not only -ENOMEM but also -EINVAL, but spdk_nvmf_rdma_request_fill_iovs() and nvmf_rdma_request_fill_iovs_multi_sgl() had returned -ENOMEM regardless of the actual return value. Fix them in this patch. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ic19593ffa9c0731f63d198d4ae16feb3bb47f57c Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/469378 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Alexey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Seth Howell <seth.howell@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>