mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
2003-05-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/io/irp.c (IofCallDriver): Don't reference FileObject. svn path=/trunk/; revision=4694
This commit is contained in:
parent
79780a3bcd
commit
ae351cde87
2 changed files with 5 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-05-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
|
||||
* ntoskrnl/io/irp.c (IofCallDriver): Don't reference FileObject.
|
||||
|
||||
2003-05-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
|
||||
* ntoskrnl/io/cleanup.c (IopCompleteRequest1, IoSecondStageCompletion):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: irp.c,v 1.48 2003/05/16 12:03:11 chorns Exp $
|
||||
/* $Id: irp.c,v 1.49 2003/05/17 00:25:39 chorns Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -129,11 +129,6 @@ IofCallDriver(PDEVICE_OBJECT DeviceObject,
|
|||
DPRINT("DriverObject->MajorFunction[Param->MajorFunction] %x\n",
|
||||
DriverObject->MajorFunction[Param->MajorFunction]);
|
||||
|
||||
if ((Param->FileObject) && (Param->MajorFunction != IRP_MJ_CLOSE))
|
||||
{
|
||||
ObReferenceObject(Param->FileObject);
|
||||
}
|
||||
|
||||
return DriverObject->MajorFunction[Param->MajorFunction](DeviceObject, Irp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue