[FASTFAT] Add a comment (and an ASSERT) in VfatCreateFile() that shows that my stats...
authorPierre Schweitzer <pierre@reactos.org>
Sun, 17 Dec 2017 17:25:43 +0000 (18:25 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 17 Dec 2017 17:25:43 +0000 (18:25 +0100)
drivers/filesystems/fastfat/create.c

index 248d99e..20a4bc0 100644 (file)
@@ -982,6 +982,8 @@ VfatCreateFile(
 
     /* FIXME : test write access if requested */
 
+    /* FIXME: That is broken, we cannot reach this code path with failure */
+    ASSERT(NT_SUCCESS(Status));
     if (NT_SUCCESS(Status))
     {
         vfatAddToStat(DeviceExt, Fat.SuccessfulCreates, 1);