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)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 25 Jul 2011 07:47:59 +0000 (07:47 +0000)
commit55bdabdf41b6ee99e22e9d78a895b001fb1d852e
treea66c6d6480a2bddc7cbd534be6411cdda27a4898
parent123521830c0ea35055b900d2ff0b73bb129e08cb
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