scsi: Use struct scsi_lun in fc/fcp.h
authorAndy Grover <agrover@redhat.com>
Thu, 19 Jan 2012 21:39:11 +0000 (13:39 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 25 Feb 2012 22:37:46 +0000 (14:37 -0800)
commite35fa8c2d0feb977c2f7d14a973b4132483ffef3
tree51e22df14dcef278c0eb6a3433b06e48a18a6d09
parent8e94b8db6121570f5ceb1aede9b28db93461cb86
scsi: Use struct scsi_lun in fc/fcp.h

This allows us to use scsilun_to_int without an ugly cast.

Fix up places that use scsilun_to_int on fcp->fc_lun accordingly.

In fc target, this leaves ft_cmd.lun unused, so remove it.

Signed-off-by: Andy Grover <agrover@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Kiran Patil <kiran.patil@intel.com>
Cc: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/bnx2fc/bnx2fc_io.c
drivers/scsi/libfc/fc_fcp.c
drivers/target/tcm_fc/tcm_fc.h
drivers/target/tcm_fc/tfc_cmd.c
include/scsi/fc/fc_fcp.h