Properly setup the I/O stack location in IopSecurityFile.
authorFilip Navara <filip.navara@gmail.com>
Tue, 26 Jul 2005 11:00:15 +0000 (11:00 +0000)
committerFilip Navara <filip.navara@gmail.com>
Tue, 26 Jul 2005 11:00:15 +0000 (11:00 +0000)
svn path=/trunk/; revision=16736

reactos/ntoskrnl/io/file.c

index 9611c4d..0c21f63 100644 (file)
@@ -324,6 +324,7 @@ IopSecurityFile(PVOID ObjectBody,
 
     /* Set Stack Parameters */
     StackPtr = IoGetNextIrpStackLocation(Irp);
 
     /* Set Stack Parameters */
     StackPtr = IoGetNextIrpStackLocation(Irp);
+    StackPtr->MajorFunction = MajorFunction;
     StackPtr->FileObject = FileObject;
 
     /* Set Parameters */
     StackPtr->FileObject = FileObject;
 
     /* Set Parameters */