+87
−70
Loading
This patch follows the last cleanup. Factor out reading PDU payload operation from iscsi_read_pdu() into a helper function iscsi_pdu_payload_read(). This reduces the nesting level, improves the readability, and make the following patches easier. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ie5f51eedefe00f3b43a7b45dcf84be79f8df4e27 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6414 Reviewed-by:
Ziye Yang <ziye.yang@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot