scsi: fix the type for well known LUs
authorSubhash Jadavani <subhashj@codeaurora.org>
Thu, 25 Sep 2014 12:32:19 +0000 (15:32 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 1 Oct 2014 11:11:03 +0000 (13:11 +0200)
commit45341ca3fcacc8720c425e757a627ef81b65b1ee
tree2d9d1f3e7a4944c77f534834be0e92e8c91cfc8a
parentdb525fce95f0ee39102f06f8599ced3f3f3af128
scsi: fix the type for well known LUs

Some devices may respond with wrong type for well-known logical units.
This patch forces well-known type for devices which doesn't report it
correct.

Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/scsi_scan.c
include/scsi/scsi.h