diff options
author | Hannes Reinecke <hare@suse.de> | 2015-06-10 02:41:22 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-06-16 02:26:01 -0400 |
commit | f2d30680204f20b815e6796437923fb870b6c193 (patch) | |
tree | eef624a98fedcacf850c1e53bfe68720a7b0bdc4 /drivers/target/iscsi | |
parent | e34d366273ce17bba902975f7c1e64a24a399024 (diff) |
target: use 64-bit LUNs
As we're now using a list to hold the LUNs the target core
can now converted to use 64-bit LUNs internally.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi')
-rw-r--r-- | drivers/target/iscsi/iscsi_target_tmr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/target/iscsi/iscsi_target_tmr.c b/drivers/target/iscsi/iscsi_target_tmr.c index b0224a77e26d..515988258e9e 100644 --- a/drivers/target/iscsi/iscsi_target_tmr.c +++ b/drivers/target/iscsi/iscsi_target_tmr.c | |||
@@ -120,7 +120,7 @@ u8 iscsit_tmr_task_reassign( | |||
120 | struct iscsi_tmr_req *tmr_req = cmd->tmr_req; | 120 | struct iscsi_tmr_req *tmr_req = cmd->tmr_req; |
121 | struct se_tmr_req *se_tmr = cmd->se_cmd.se_tmr_req; | 121 | struct se_tmr_req *se_tmr = cmd->se_cmd.se_tmr_req; |
122 | struct iscsi_tm *hdr = (struct iscsi_tm *) buf; | 122 | struct iscsi_tm *hdr = (struct iscsi_tm *) buf; |
123 | int ret, ref_lun; | 123 | u64 ret, ref_lun; |
124 | 124 | ||
125 | pr_debug("Got TASK_REASSIGN TMR ITT: 0x%08x," | 125 | pr_debug("Got TASK_REASSIGN TMR ITT: 0x%08x," |
126 | " RefTaskTag: 0x%08x, ExpDataSN: 0x%08x, CID: %hu\n", | 126 | " RefTaskTag: 0x%08x, ExpDataSN: 0x%08x, CID: %hu\n", |
@@ -164,7 +164,7 @@ u8 iscsit_tmr_task_reassign( | |||
164 | ref_lun = scsilun_to_int(&hdr->lun); | 164 | ref_lun = scsilun_to_int(&hdr->lun); |
165 | if (ref_lun != ref_cmd->se_cmd.orig_fe_lun) { | 165 | if (ref_lun != ref_cmd->se_cmd.orig_fe_lun) { |
166 | pr_err("Unable to perform connection recovery for" | 166 | pr_err("Unable to perform connection recovery for" |
167 | " differing ref_lun: %d ref_cmd orig_fe_lun: %u\n", | 167 | " differing ref_lun: %llu ref_cmd orig_fe_lun: %llu\n", |
168 | ref_lun, ref_cmd->se_cmd.orig_fe_lun); | 168 | ref_lun, ref_cmd->se_cmd.orig_fe_lun); |
169 | return ISCSI_TMF_RSP_REJECTED; | 169 | return ISCSI_TMF_RSP_REJECTED; |
170 | } | 170 | } |