projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1d11d56
)
[FASTFAT] When attaching our FCB to a FO, also set the VPB.
author
Pierre Schweitzer
<pierre@reactos.org>
Fri, 18 May 2018 08:29:45 +0000
(10:29 +0200)
committer
Pierre Schweitzer
<pierre@reactos.org>
Fri, 18 May 2018 08:30:52 +0000
(10:30 +0200)
Spotted by Alex.
drivers/filesystems/fastfat/fcb.c
patch
|
blob
|
history
diff --git
a/drivers/filesystems/fastfat/fcb.c
b/drivers/filesystems/fastfat/fcb.c
index
33124bc
..
35bb675
100644
(file)
--- 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->SectionObjectPointer = &fcb->SectionObjectPointers;
fileObject->FsContext = fcb;
fileObject->FsContext2 = newCCB;
+ fileObject->Vpb = vcb->IoVPB;
fcb->FileObject = fileObject;
_SEH2_TRY
fcb->FileObject = fileObject;
_SEH2_TRY
@@
-833,6
+834,7
@@
vfatAttachFCBToFileObject(
fileObject->SectionObjectPointer = &fcb->SectionObjectPointers;
fileObject->FsContext = fcb;
fileObject->FsContext2 = newCCB;
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
DPRINT("file open: fcb:%p PathName:%wZ\n", fcb, &fcb->PathNameU);
#ifdef KDBG