mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 14:18:41 +00:00
Set the allocation size in IoCreateFile.
svn path=/trunk/; revision=3419
This commit is contained in:
parent
9ad20399e9
commit
9b2f541051
|
@ -1,4 +1,4 @@
|
|||
/* $Id: create.c,v 1.58 2002/05/23 09:51:11 ekohl Exp $
|
||||
/* $Id: create.c,v 1.59 2002/08/28 07:05:14 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -375,6 +375,10 @@ IoCreateFile(OUT PHANDLE FileHandle,
|
|||
Irp->Tail.Overlay.AuxiliaryBuffer = (PCHAR)ExtraCreateParameters;
|
||||
Irp->Tail.Overlay.Thread = PsGetCurrentThread();
|
||||
Irp->UserEvent = &FileObject->Event;
|
||||
if (AllocationSize)
|
||||
{
|
||||
Irp->Overlay.AllocationSize = *AllocationSize;
|
||||
}
|
||||
|
||||
/*
|
||||
* Get the stack location for the new
|
||||
|
|
Loading…
Reference in a new issue