Command abortion bug fix.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1899 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-07-30 15:28:56 +00:00
parent b9c3b09613
commit d402b1e851

View File

@@ -1304,6 +1304,8 @@ static void srpt_abort_scst_cmd(struct srpt_ioctx *ioctx,
break;
case SRPT_STATE_NEED_DATA:
/* SCST_DATA_WRITE - RDMA read error or RDMA read timeout. */
scst_rx_data(ioctx->scmnd, SCST_RX_STATUS_ERROR, context);
break;
case SRPT_STATE_CMD_RSP_SENT:
/*
* SRP_RSP sending failed or the SRP_RSP send completion has