mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[FASTFAT] When attaching our FCB to a FO, also set the VPB.
Spotted by Alex.
This commit is contained in:
parent
1d11d56d1a
commit
5d743b7bd7
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue