mirror of
https://github.com/reactos/reactos.git
synced 2024-09-13 22:31:34 +00:00
Set file object flag FO_MAILSLOT upon mailslot creation.
svn path=/trunk/; revision=21754
This commit is contained in:
parent
16d9aebe47
commit
4fd7f3fb6a
|
@ -91,6 +91,7 @@ MsfsCreate(PDEVICE_OBJECT DeviceObject,
|
|||
KeUnlockMutex(&DeviceExtension->MailslotListLock);
|
||||
|
||||
FileObject->FsContext = Fcb;
|
||||
FileObject->Flags |= FO_MAILSLOT;
|
||||
|
||||
Irp->IoStatus.Status = STATUS_SUCCESS;
|
||||
Irp->IoStatus.Information = 0;
|
||||
|
@ -219,6 +220,7 @@ MsfsCreateMailslot(PDEVICE_OBJECT DeviceObject,
|
|||
KeUnlockMutex(&DeviceExtension->MailslotListLock);
|
||||
|
||||
FileObject->FsContext = Fcb;
|
||||
FileObject->Flags |= FO_MAILSLOT;
|
||||
|
||||
Irp->IoStatus.Status = STATUS_SUCCESS;
|
||||
Irp->IoStatus.Information = 0;
|
||||
|
|
Loading…
Reference in a new issue