Re: [PATCH] zfcp: Report FCP LUN to SCSI midlayer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Swen Schillig wrote:
> --- a/drivers/scsi/scsi_scan.c
> +++ b/drivers/scsi/scsi_scan.c
> @@ -1213,7 +1213,7 @@ static void scsi_sequential_lun_scan(struct scsi_target *starget,
>   *     Given a struct scsi_lun of: 0a 04 0b 03 00 00 00 00, this function returns
>   *     the integer: 0x0b030a04
>   **/
> -static int scsilun_to_int(struct scsi_lun *scsilun)
> +int scsilun_to_int(struct scsi_lun *scsilun)
>  {
>  	int i;
>  	unsigned int lun;
> @@ -1224,6 +1224,7 @@ static int scsilun_to_int(struct scsi_lun *scsilun)
>  			      scsilun->scsi_lun[i + 1]) << (i * 8));
>  	return lun;
>  }
> +EXPORT_SYMBOL(scsilun_to_int);

This export will be useful for fw-sbp2 too.
-- 
Stefan Richter
-=====-=-=== -==- =--==
http://arcgraph.de/sr/
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux