modify IopCloseFile : send IRP_MJ_CLOSE .
authorjean <jean@svn.reactos.org>
Mon, 15 Feb 1999 11:29:08 +0000 (11:29 +0000)
committerjean <jean@svn.reactos.org>
Mon, 15 Feb 1999 11:29:08 +0000 (11:29 +0000)
svn path=/trunk/; revision=232

reactos/ntoskrnl/io/iomgr.c

index bd9e195..50b39ab 100644 (file)
@@ -42,7 +42,7 @@ VOID IopCloseFile(PVOID ObjectBody, ULONG HandleCount)
                              IoFileType,
                              UserMode);
    
-   Irp = IoBuildSynchronousFsdRequest(IRP_MJ_CLEANUP,
+   Irp = IoBuildSynchronousFsdRequest(IRP_MJ_CLOSE,
                                      FileObject->DeviceObject,
                                      NULL,
                                      0,