mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +00:00
Set file object flag FO_NAMED_PIPE upon named pipe creation.
svn path=/trunk/; revision=21755
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user