Author: dchapyshev Date: Sat Sep 3 15:02:57 2016 New Revision: 72546
URL: http://svn.reactos.org/svn/reactos?rev=72546&view=rev Log: [NTOS:IO] - IopDeviceFsIoControl is paged code - Incorrect logic at when processing the IsDevIoCtl parameter
Modified: trunk/reactos/ntoskrnl/io/iomgr/iofunc.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/iofunc.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/iofunc.c?... ============================================================================== --- trunk/reactos/ntoskrnl/io/iomgr/iofunc.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/io/iomgr/iofunc.c [iso-8859-1] Sat Sep 3 15:02:57 2016 @@ -210,6 +210,9 @@ ACCESS_MASK DesiredAccess; KPROCESSOR_MODE PreviousMode = ExGetPreviousMode(); ULONG BufferLength; + + PAGED_CODE(); + IOTRACE(IO_CTL_DEBUG, "Handle: %p. CTL: %lx. Type: %lx \n", DeviceHandle, IoControlCode, IsDevIoCtl);
@@ -343,7 +346,7 @@ }
/* If that's FS I/O, try to do it with FastIO path */ - if (!IsDevIoCtl) + if (IsDevIoCtl) { PFAST_IO_DISPATCH FastIoDispatch = DeviceObject->DriverObject->FastIoDispatch;