[SCSIPORT]: Fixes:
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 19 May 2017 16:14:10 +0000 (16:14 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 19 May 2017 16:14:10 +0000 (16:14 +0000)
commit48d95feba13f0e77a75cdb29425248b212d80bdb
tree73937e0fad0a627e12243d5f3d87b205a40a9b80
parent2e3ea31302ae1388ea405269b6c6178864d73e93
[SCSIPORT]: Fixes:
- In SpiScanAdapter(), after an SCSI INQUIRY command has succeeded and we are setting up a LUN extension structure,
  cache in its InquiryData member the inquiry data retrieved from the INQUIRY command (alternatively we might just cache
  a pointer to a valid "LunInfo" since the latter are also cached elsewhere).
- This allows SpiBuildDeviceMap(), which is called just after SpiScanAdapter(), to correctly report in the registry SCSI tree
  the correct Identifier and DeviceType values for the enumerated logical units.
- Use ExFreePoolWithTag in SpiScanAdapter().

svn path=/trunk/; revision=74597
reactos/drivers/storage/scsiport/scsiport.c