Author: tkreuzer
Date: Tue Dec 16 12:12:13 2008
New Revision: 38121
URL:
http://svn.reactos.org/svn/reactos?rev=38121&view=rev
Log:
Fix usage of PNTSTATUS instead of NTSTATUS in NT_SUCCESS, which could result in
IopCheckVpbMounted returning a wrong status code
Modified:
trunk/reactos/ntoskrnl/io/iomgr/volume.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/volume.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/volume.c…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/volume.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/volume.c [iso-8859-1] Tue Dec 16 12:12:13 2008
@@ -70,7 +70,7 @@
IopDereferenceDeviceObject(DeviceObject, FALSE);
/* Check if it was a total failure */
- if (!NT_SUCCESS(Status)) return NULL;
+ if (!NT_SUCCESS(*Status)) return NULL;
/* Otherwise we were alerted */
*Status = STATUS_WRONG_VOLUME;