diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-09-26 08:00:39 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-10-03 14:21:50 -0700 |
commit | 66c7db687631247b7a3493322b9aedeef3c6c7b5 (patch) | |
tree | 97584e963d8572fe7b0a8c0bd94bad29880bb6c4 /drivers/target/iscsi/iscsi_target_login.c | |
parent | cea0b4ceec5d09330fd80c0185532a502db9c2b7 (diff) |
iscsit: use the itt_t abstract type
Use the special itt_t type defined by the iscsi headers and the initiator
to make sure it's an opaque value.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_login.c')
-rw-r--r-- | drivers/target/iscsi/iscsi_target_login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/iscsi/iscsi_target_login.c b/drivers/target/iscsi/iscsi_target_login.c index 1e5d05011915..4c83d7a39bf3 100644 --- a/drivers/target/iscsi/iscsi_target_login.c +++ b/drivers/target/iscsi/iscsi_target_login.c @@ -953,9 +953,9 @@ static int __iscsi_target_login_thread(struct iscsi_np *np) pdu = (struct iscsi_login_req *) buffer; pdu->cid = be16_to_cpu(pdu->cid); pdu->tsih = be16_to_cpu(pdu->tsih); - pdu->itt = be32_to_cpu(pdu->itt); pdu->cmdsn = be32_to_cpu(pdu->cmdsn); pdu->exp_statsn = be32_to_cpu(pdu->exp_statsn); + /* * Used by iscsit_tx_login_rsp() for Login Resonses PDUs * when Status-Class != 0. |