mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[CDROM_NEW] Fix SLIST_ENTRY vs SINGLE_LIST_ENTRY issues
This commit is contained in:
parent
dfd876a96b
commit
05f4951b8c
2 changed files with 6 additions and 2 deletions
|
@ -1412,9 +1412,9 @@ CdRomStartIo(
|
|||
//
|
||||
|
||||
ExInterlockedPushEntrySList(&(cdData->Mmc.DelayedIrps),
|
||||
(PSINGLE_LIST_ENTRY)&(Irp->Tail.Overlay.DriverContext[0]),
|
||||
(PSLIST_ENTRY)&(Irp->Tail.Overlay.DriverContext[0]), // ReactOS
|
||||
&(cdData->Mmc.DelayedLock));
|
||||
|
||||
|
||||
queueDepth = ExQueryDepthSList(&(cdData->Mmc.DelayedIrps));
|
||||
if (queueDepth == 1) {
|
||||
|
||||
|
|
|
@ -1233,7 +1233,11 @@ CdRompFlushDelayedList(
|
|||
IN BOOLEAN CalledFromWorkItem
|
||||
)
|
||||
{
|
||||
#ifdef __REACTOS__
|
||||
PSLIST_ENTRY list;
|
||||
#else
|
||||
PSINGLE_LIST_ENTRY list;
|
||||
#endif
|
||||
PIRP irp;
|
||||
|
||||
// NOTE - REF #0002
|
||||
|
|
Loading…
Reference in a new issue