From 5ada12c0d9a47ea0667bc87642ea095c969e2c9b Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sat, 24 Jul 2004 01:28:04 +0000 Subject: [PATCH] - Associate Irp with thread in NtSetInformationFile. svn path=/trunk/; revision=10272 --- reactos/ntoskrnl/io/file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/io/file.c b/reactos/ntoskrnl/io/file.c index cf6cc0ba457..fa0e14e3413 100644 --- a/reactos/ntoskrnl/io/file.c +++ b/reactos/ntoskrnl/io/file.c @@ -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;