[SCSI] scsi_dh: Do not use scsilun in rdac hardware handler

RDAC storage controller doesn't seem to use the scsilun format. It uses
only the last byte for LUN.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by Chandra Seetharaman and committed by James Bottomley 8479fca1 24541f99

+1 -1
+1 -1
drivers/scsi/device_handler/scsi_dh_rdac.c
··· 376 376 if (inqp->page_id[0] != 'e' || inqp->page_id[1] != 'd' || 377 377 inqp->page_id[2] != 'i' || inqp->page_id[3] != 'd') 378 378 return SCSI_DH_NOSYS; 379 - h->lun = scsilun_to_int((struct scsi_lun *)inqp->lun); 379 + h->lun = inqp->lun[7]; /* Uses only the last byte */ 380 380 } 381 381 return err; 382 382 }