+20
−32
Loading
spdk_iscsi_read_pdu() returns three return values, SPDK_ISCSI_CONNECTION_FATAL, 0, or 1. Consolidating error paths clarifies the logic. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I66a734f37bfd3bbd0ae0974813086b24cb3cd432 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456769 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ziye Yang <ziye.yang@intel.com> Reviewed-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com>