mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 04:20:46 +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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -78,7 +78,7 @@ IopCloseFile(PVOID ObjectBody,
|
||||||
NULL,
|
NULL,
|
||||||
0,
|
0,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
&FileObject->Event,
|
||||||
NULL);
|
NULL);
|
||||||
StackPtr = IoGetNextIrpStackLocation(Irp);
|
StackPtr = IoGetNextIrpStackLocation(Irp);
|
||||||
StackPtr->FileObject = FileObject;
|
StackPtr->FileObject = FileObject;
|
||||||
|
@ -117,7 +117,7 @@ IopDeleteFile(PVOID ObjectBody)
|
||||||
NULL,
|
NULL,
|
||||||
0,
|
0,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
&FileObject->Event,
|
||||||
NULL);
|
NULL);
|
||||||
Irp->Flags |= IRP_CLOSE_OPERATION;
|
Irp->Flags |= IRP_CLOSE_OPERATION;
|
||||||
StackPtr = IoGetNextIrpStackLocation(Irp);
|
StackPtr = IoGetNextIrpStackLocation(Irp);
|
||||||
|
|
Loading…
Reference in a new issue