On Thu, Aug 21, 2014 at 10:41:02AM -0400, Douglas Gilbert wrote: > Perhaps we could add another bit flag in struct > scsi_host_template such as: > unsigned int transport_says_dont_scsi2_lun_cmd:1; > > then drivers/usb/storage/scsiglue.c could set that > bit in its usb_stor_host_template and > drivers/scsi/scsi.c could take heed (and not mask > cmd->cmnd[1] with the LUN). Fully agreed. (except that I'd shorten the flag name to .no_scsi2lun :)) -- 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