[SCSI] iscsi: Use struct scsi_lun in iscsi structs instead of u8[8]
authorAndy Grover <agrover@redhat.com>
Thu, 16 Jun 2011 22:57:09 +0000 (15:57 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Jun 2011 21:22:13 +0000 (16:22 -0500)
commit516f43a2a555000e77c1d59b8298cb46aad9ecc1
tree1e9fe8742e1c70cdf65e9f3f926ea30075e09131
parent2e00d24e7ebae3183aeab0f958ea1142d1af3a02
[SCSI] iscsi: Use struct scsi_lun in iscsi structs instead of u8[8]

struct scsi_lun is also just a struct with an array of 8 octets (64 bits)
but using it instead in iscsi structs lets us call scsilun_to_int
without a cast, and also lets us copy it using assignment, instead of
memcpy().

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/be2iscsi/be_main.c
drivers/scsi/bnx2i/bnx2i_hwi.c
drivers/scsi/libiscsi.c
include/scsi/iscsi_proto.h
include/scsi/libiscsi.h