mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 20:43:18 +00:00
- Associate Irp with thread in NtSetInformationFile.
svn path=/trunk/; revision=10272
This commit is contained in:
parent
e99d2b956a
commit
5ada12c0d9
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: file.c,v 1.30 2004/07/17 03:06:01 ion Exp $
|
||||
/* $Id: file.c,v 1.31 2004/07/24 01:28:04 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -479,6 +479,7 @@ NtSetInformationFile(HANDLE FileHandle,
|
|||
Irp->UserIosb = IoStatusBlock;
|
||||
Irp->UserEvent = &FileObject->Event;
|
||||
KeResetEvent( &FileObject->Event );
|
||||
Irp->Tail.Overlay.Thread = PsGetCurrentThread();
|
||||
|
||||
StackPtr = IoGetNextIrpStackLocation(Irp);
|
||||
StackPtr->MajorFunction = IRP_MJ_SET_INFORMATION;
|
||||
|
|
Loading…
Reference in a new issue