usb-storage: support for more than 8 LUNs
authorOliver Neukum <oneukum@suse.de>
Tue, 10 Feb 2015 08:27:59 +0000 (09:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Feb 2015 16:38:46 +0000 (08:38 -0800)
commitec371326d47385dd3fc8e6c7e0d9e89118d94dd8
treefe2c4f70187dae976af85d058732fd71f8c1e06a
parent59e980efafd27df83a5c85c054f906d82bcbf752
usb-storage: support for more than 8 LUNs

This is necessary to make some storage arrays work.

Some storage devices have more than 8 LUNs. In addition
you can hook up a WideSCSI bus to USB. In these cases even
level 2 devices can have more than 8 LUNs. For them
it is necessary to simply believe the class specific
command and report its result back to the SCSI layer.

Off by one Alan noticed is fixed.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/usb.c