mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 07:56:59 +00:00
Set file object flag FO_NAMED_PIPE upon named pipe creation.
svn path=/trunk/; revision=21755
This commit is contained in:
parent
4fd7f3fb6a
commit
1f15256d2e
1 changed files with 2 additions and 0 deletions
|
@ -295,6 +295,7 @@ NpfsCreate(PDEVICE_OBJECT DeviceObject,
|
|||
KeUnlockMutex(&Pipe->FcbListLock);
|
||||
|
||||
FileObject->FsContext = ClientFcb;
|
||||
FileObject->Flags |= FO_NAMED_PIPE;
|
||||
|
||||
Irp->IoStatus.Status = STATUS_SUCCESS;
|
||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||
|
@ -539,6 +540,7 @@ NpfsCreateNamedPipe(PDEVICE_OBJECT DeviceObject,
|
|||
KeUnlockMutex(&Pipe->FcbListLock);
|
||||
|
||||
FileObject->FsContext = Fcb;
|
||||
FileObject->Flags |= FO_NAMED_PIPE;
|
||||
|
||||
Irp->IoStatus.Status = STATUS_SUCCESS;
|
||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue