[CDFS]
authorThomas Faber <thomas.faber@reactos.org>
Fri, 27 Feb 2015 12:39:27 +0000 (12:39 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Fri, 27 Feb 2015 12:39:27 +0000 (12:39 +0000)
- Do not touch Irp after handing it off to FsRtlNotifyFullChangeDirectory
CORE-8776 CORE-9274 #resolve

svn path=/trunk/; revision=66477

reactos/drivers/filesystems/cdfs/dirctl.c

index 5677c83..e3a48a9 100644 (file)
@@ -813,11 +813,10 @@ CdfsDirectoryControl(PDEVICE_OBJECT DeviceObject,
         break;
     }
 
-    Irp->IoStatus.Status = Status;
-    Irp->IoStatus.Information = 0;
-
     if (Status != STATUS_PENDING)
     {
+        Irp->IoStatus.Status = Status;
+        Irp->IoStatus.Information = 0;
         IoCompleteRequest(Irp, IO_NO_INCREMENT);
     }
     FsRtlExitFileSystem();