992d7bd2
by Jinoh Kang at 2025-01-22T13:02:42+01:00
ntoskrnl.exe: Fix IRQL mismatch between cancel spin lock acquire and release.
Use the irql assigned by IoAcquireCancelSpinLock, not the
(yet-to-be-assigned) irp->CancelIrql.
This is for readability. Since IoReleaseCancelSpinLock() ignores the
IRQL argument anyway, no semantic change is expected with unmodified
ntoskrnl.exe/hal.dll.