- Set the flag IRP_CLOSE_OPERATION in IopDeleteFile.
authorHartmut Birr <osexpert@googlemail.com>
Wed, 31 Dec 2003 14:20:26 +0000 (14:20 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Wed, 31 Dec 2003 14:20:26 +0000 (14:20 +0000)
svn path=/trunk/; revision=7367

reactos/ntoskrnl/io/iomgr.c

index cfb8d8e..02ab026 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: iomgr.c,v 1.44 2003/11/18 20:08:30 ekohl Exp $
+/* $Id: iomgr.c,v 1.45 2003/12/31 14:20:26 hbirr Exp $
  *
  * COPYRIGHT:            See COPYING in the top level directory
  * PROJECT:              ReactOS kernel
@@ -116,6 +116,7 @@ IopDeleteFile(PVOID ObjectBody)
                                        NULL,
                                        NULL,
                                        NULL);
+     Irp->Flags |= IRP_CLOSE_OPERATION;
      StackPtr = IoGetNextIrpStackLocation(Irp);
      StackPtr->FileObject = FileObject;