https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5d743b7bd7519229cbc34…
commit 5d743b7bd7519229cbc34752ce745af608fff62b
Author:     Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Fri May 18 10:29:45 2018 +0200
Commit:     Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Fri May 18 10:30:52 2018 +0200
    [FASTFAT] When attaching our FCB to a FO, also set the VPB.
    Spotted by Alex.
---
 drivers/filesystems/fastfat/fcb.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/drivers/filesystems/fastfat/fcb.c b/drivers/filesystems/fastfat/fcb.c
index 33124bc51b..35bb675795 100644
--- a/drivers/filesystems/fastfat/fcb.c
+++ b/drivers/filesystems/fastfat/fcb.c
@@ -670,6 +670,7 @@ vfatFCBInitializeCacheFromVolume(
     fileObject->SectionObjectPointer = &fcb->SectionObjectPointers;
     fileObject->FsContext = fcb;
     fileObject->FsContext2 = newCCB;
+    fileObject->Vpb = vcb->IoVPB;
     fcb->FileObject = fileObject;
     _SEH2_TRY
@@ -833,6 +834,7 @@ vfatAttachFCBToFileObject(
     fileObject->SectionObjectPointer = &fcb->SectionObjectPointers;
     fileObject->FsContext = fcb;
     fileObject->FsContext2 = newCCB;
+    fileObject->Vpb = vcb->IoVPB;
     DPRINT("file open: fcb:%p PathName:%wZ\n", fcb, &fcb->PathNameU);
 #ifdef KDBG