Author: pschweitzer
Date: Mon May 25 16:52:15 2015
New Revision: 67909
URL:
http://svn.reactos.org/svn/reactos?rev=67909&view=rev
Log:
[NTFS]
If IRP can't wait, queue it
Modified:
trunk/reactos/drivers/filesystems/ntfs/create.c
Modified: trunk/reactos/drivers/filesystems/ntfs/create.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ntfs/c…
==============================================================================
--- trunk/reactos/drivers/filesystems/ntfs/create.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/ntfs/create.c [iso-8859-1] Mon May 25 16:52:15 2015
@@ -428,6 +428,11 @@
DeviceExt = DeviceObject->DeviceExtension;
+ if (!(IrpContext->Flags & IRPCONTEXT_CANWAIT))
+ {
+ return NtfsMarkIrpContextForQueue(IrpContext);
+ }
+
ExAcquireResourceExclusiveLite(&DeviceExt->DirResource,
TRUE);
Status = NtfsCreateFile(DeviceObject,