Re: [PATCH v2] scsi: target: core: check SR field in REPORT LUNS

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

 



Dmitry,

> +	switch (sr) {
> +	case SCSI_SELECT_WELLKNOWN:
> +	case SCSI_SELECT_ADMINISTRATIVE:
> +	case SCSI_SELECT_SUBSIDIARY:
> +		/* report empty lun list */
> +		goto out;

I'm a bit concerned about things inadvertently breaking if we return an
empty list for the well known LUNs.

-- 
Martin K. Petersen	Oracle Linux Engineering



[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