mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
Set the allocation size in IoCreateFile.
svn path=/trunk/; revision=3419
This commit is contained in:
parent
9ad20399e9
commit
9b2f541051
1 changed files with 5 additions and 1 deletions
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -375,6 +375,10 @@ IoCreateFile(OUT PHANDLE FileHandle,
|
||||||
Irp->Tail.Overlay.AuxiliaryBuffer = (PCHAR)ExtraCreateParameters;
|
Irp->Tail.Overlay.AuxiliaryBuffer = (PCHAR)ExtraCreateParameters;
|
||||||
Irp->Tail.Overlay.Thread = PsGetCurrentThread();
|
Irp->Tail.Overlay.Thread = PsGetCurrentThread();
|
||||||
Irp->UserEvent = &FileObject->Event;
|
Irp->UserEvent = &FileObject->Event;
|
||||||
|
if (AllocationSize)
|
||||||
|
{
|
||||||
|
Irp->Overlay.AllocationSize = *AllocationSize;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get the stack location for the new
|
* Get the stack location for the new
|
||||||
|
|
Loading…
Reference in a new issue