]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7da6c75745566b061bac0f594e3f9b325dc2bbb9
tree2d9d1f3e7a4944c77f534834be0e92e8c91cfc8a
parent2cdf9e7ffd43a6533989ccbac25ec8bde583fae9
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