mirror of
https://github.com/reactos/reactos.git
synced 2025-04-18 03:34:11 +00:00
- Put the event from file object as user event into the irp in IopCloseFile
and IopDeleteFile. This is necessary because the event from fileobject isn't set automatically after a close/cleanup call. svn path=/trunk/; revision=9339
This commit is contained in:
parent
ad49710348
commit
c1574ff8d1
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: iomgr.c,v 1.47 2004/05/02 19:33:50 ekohl Exp $
|
||||
/* $Id: iomgr.c,v 1.48 2004/05/09 15:02:07 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -78,7 +78,7 @@ IopCloseFile(PVOID ObjectBody,
|
|||
NULL,
|
||||
0,
|
||||
NULL,
|
||||
NULL,
|
||||
&FileObject->Event,
|
||||
NULL);
|
||||
StackPtr = IoGetNextIrpStackLocation(Irp);
|
||||
StackPtr->FileObject = FileObject;
|
||||
|
@ -117,7 +117,7 @@ IopDeleteFile(PVOID ObjectBody)
|
|||
NULL,
|
||||
0,
|
||||
NULL,
|
||||
NULL,
|
||||
&FileObject->Event,
|
||||
NULL);
|
||||
Irp->Flags |= IRP_CLOSE_OPERATION;
|
||||
StackPtr = IoGetNextIrpStackLocation(Irp);
|
||||
|
|
Loading…
Reference in a new issue