[FASTFAT] On volume open, update share access if volume was already open master
authorPierre Schweitzer <pierre@reactos.org>
Thu, 14 Feb 2019 09:48:32 +0000 (10:48 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Thu, 14 Feb 2019 09:48:32 +0000 (10:48 +0100)
It was never updated afterwards, leading to a totally loss of share
access information amongst callers.

drivers/filesystems/fastfat/create.c

index 22ce0a5..aadc990 100644 (file)
@@ -523,7 +523,7 @@ VfatCreateFile(
                                         Stack->Parameters.Create.ShareAccess,
                                         FileObject,
                                         &pFcb->FCBShareAccess,
-                                        FALSE);
+                                        TRUE);
             if (!NT_SUCCESS(Status))
             {
                 vfatAddToStat(DeviceExt, Fat.FailedCreates, 1);