Merge 16736 from trunk:
Properly setup the I/O stack location in IopSecurityFile.
Modified: branches/ros-branch-0_2_7/reactos/ntoskrnl/io/file.c

Modified: branches/ros-branch-0_2_7/reactos/ntoskrnl/io/file.c
--- branches/ros-branch-0_2_7/reactos/ntoskrnl/io/file.c	2005-08-03 17:13:51 UTC (rev 17014)
+++ branches/ros-branch-0_2_7/reactos/ntoskrnl/io/file.c	2005-08-03 17:14:26 UTC (rev 17015)
@@ -324,6 +324,7 @@
 
     /* Set Stack Parameters */
     StackPtr = IoGetNextIrpStackLocation(Irp);
+    StackPtr->MajorFunction = MajorFunction;
     StackPtr->FileObject = FileObject;
 
     /* Set Parameters */