On 08/10/2010 02:09 PM, Eddie Wai wrote:
+               /* Retrieve LUN directly from the ref_sc */
+               int_to_scsilun(ref_sc->device->lun,
+                              (struct scsi_lun *) scsi_lun);
+               tmfabort_wqe->lun[0] = be32_to_cpu(scsi_lun[0]);
+               tmfabort_wqe->lun[1] = be32_to_cpu(scsi_lun[1]);
+



+       default:
+               memcpy(tmfabort_wqe->lun, tmfabort_hdr->lun, 8);

Why do you copy the lun differently?

--
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to