ib_srpt: Another follow-up for r3515.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3520 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2011-06-02 19:12:29 +00:00
parent ea8e30581e
commit 073a504cd3
-2
View File
@@ -3130,8 +3130,6 @@ static int srpt_xmit_response(struct scst_cmd *scmnd)
}
spin_unlock_irqrestore(&ioctx->spinlock, flags);
if (state != SRPT_STATE_DATA_IN)
if (unlikely(scst_cmd_aborted(scmnd))) {
atomic_inc(&ch->req_lim_delta);
srpt_abort_cmd(ioctx, SCST_CONTEXT_SAME);