[FASTFAT]
authorPierre Schweitzer <pierre@reactos.org>
Mon, 8 Aug 2016 07:28:14 +0000 (07:28 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Mon, 8 Aug 2016 07:28:14 +0000 (07:28 +0000)
Opening file by ID is not possible with FAT.

svn path=/trunk/; revision=72156

reactos/drivers/filesystems/fastfat/create.c

index 3691dc8..bdb58c7 100644 (file)
@@ -502,6 +502,11 @@ VfatCreateFile(
     FileObject = Stack->FileObject;
     DeviceExt = DeviceObject->DeviceExtension;
 
+    if (Stack->Parameters.Create.Options & FILE_OPEN_BY_FILE_ID)
+    {
+        return STATUS_NOT_IMPLEMENTED;
+    }
+
     /* Check their validity. */
     if (RequestedOptions & FILE_DIRECTORY_FILE &&
         RequestedDisposition == FILE_SUPERSEDE)