From f08ebc1cee7ff3f1e50c3bb42dd4e466bbb14df5 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Wed, 31 Dec 2003 14:20:26 +0000 Subject: [PATCH] - Set the flag IRP_CLOSE_OPERATION in IopDeleteFile. svn path=/trunk/; revision=7367 --- reactos/ntoskrnl/io/iomgr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/io/iomgr.c b/reactos/ntoskrnl/io/iomgr.c index cfb8d8e4b57..02ab0269f52 100644 --- a/reactos/ntoskrnl/io/iomgr.c +++ b/reactos/ntoskrnl/io/iomgr.c @@ -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;