Fix (among other things) failure to boot when a CD is not inserted, caused by
authorArt Yerkes <art.yerkes@gmail.com>
Mon, 28 Jul 2008 12:38:47 +0000 (12:38 +0000)
committerArt Yerkes <art.yerkes@gmail.com>
Mon, 28 Jul 2008 12:38:47 +0000 (12:38 +0000)
commit258329b01b77d2cecce205bc270e63375df20822
tree1e65d3905339fdd614f4c8b0b318738dec06db93
parent966a7b788fbfa0e1ecf078ca46e1a4578933ba85
Fix (among other things) failure to boot when a CD is not inserted, caused by
the new (correct) ASSERT in mutex acquisition in MmProbeAndLockPages, which
was erroneously being called from IoBuildAsynchronousFsdRequest at
DISPATCH_LEVEL.

The only correct course of action when calling IoBuildAsynchronousFsdRequest
at DISPATCH_LEVEL is to MmBuildMdlForNonPagedPool since the buffer must be
nonpaged (if the IRP completes synchronously, we'll still be at DISPATCH_LEVEL)
This is the case when direct io is done at DISPATCH_LEVEL using
IoBuildAsynchronousFsdRequest.

svn path=/trunk/; revision=34899
reactos/drivers/storage/scsiport/scsiport.c
reactos/ntoskrnl/io/iomgr/irp.c