Author: ekohl
Date: Sat Apr 29 11:39:13 2006
New Revision: 21755
URL:
http://svn.reactos.ru/svn/reactos?rev=21755&view=rev
Log:
Set file object flag FO_NAMED_PIPE upon named pipe creation.
Modified:
trunk/reactos/drivers/filesystems/np/create.c
Modified: trunk/reactos/drivers/filesystems/np/create.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/drivers/filesystems/np/crea…
==============================================================================
--- trunk/reactos/drivers/filesystems/np/create.c (original)
+++ trunk/reactos/drivers/filesystems/np/create.c Sat Apr 29 11:39:13 2006
@@ -295,6 +295,7 @@
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 @@
KeUnlockMutex(&Pipe->FcbListLock);
FileObject->FsContext = Fcb;
+ FileObject->Flags |= FO_NAMED_PIPE;
Irp->IoStatus.Status = STATUS_SUCCESS;
IoCompleteRequest(Irp, IO_NO_INCREMENT);