From: Nicholas Bellinger <[email protected]>

This patches fixes a regression with solicited NopIN handling
in traditional iSCSI code introduced during TX immediate queue
refactoring for v3.10 for-next code.

Cc: Or Gerlitz <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
---
 drivers/target/iscsi/iscsi_target.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/drivers/target/iscsi/iscsi_target.c 
b/drivers/target/iscsi/iscsi_target.c
index 0148cc3..5eee9b7 100644
--- a/drivers/target/iscsi/iscsi_target.c
+++ b/drivers/target/iscsi/iscsi_target.c
@@ -3762,12 +3762,6 @@ check_rsp_state:
                break;
        case ISTATE_SEND_NOPIN:
                ret = iscsit_send_nopin(cmd, conn);
-               if (!ret) {
-                       spin_lock_bh(&cmd->istate_lock);
-                       cmd->i_state = ISTATE_SENT_STATUS;
-                       spin_unlock_bh(&cmd->istate_lock);
-                       return 0;
-               }
                break;
        case ISTATE_SEND_REJECT:
                ret = iscsit_send_reject(cmd, conn);
-- 
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to