sys: ioq: IRP can no longer be canceled once they enter the Processing state

This commit is contained in:
Bill Zissimopoulos
2016-01-11 17:14:06 -08:00
parent d8cde24fcd
commit e885905c77
5 changed files with 101 additions and 17 deletions

View File

@ -65,6 +65,8 @@ void timeout_pending_dotest(PWSTR DeviceName)
ASSERT(ERROR_OPERATION_ABORTED == ExitCode);
#if 0
/* we no longer allow canceling IRP's after they started processing */
Thread = (HANDLE)_beginthreadex(0, 0, timeout_pending_dotest_thread2, FilePath, 0, 0);
ASSERT(0 != Thread);
@ -115,6 +117,7 @@ void timeout_pending_dotest(PWSTR DeviceName)
CloseHandle(Thread);
ASSERT(ERROR_OPERATION_ABORTED == ExitCode);
#endif
Success = CloseHandle(VolumeHandle);
ASSERT(Success);