mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[0.4.9] cherry-pick [FASTFAT] Initialize cache if neded for changing volume label.
CORE-14654
(cherry picked from commit 47b9db9d02
)
This commit is contained in:
parent
a757a3fb04
commit
c71d198fd8
1 changed files with 5 additions and 0 deletions
|
@ -313,6 +313,11 @@ FsdSetFsLabelInformation(
|
|||
}
|
||||
|
||||
pRootFcb = vfatOpenRootFCB(DeviceExt);
|
||||
Status = vfatFCBInitializeCacheFromVolume(DeviceExt, pRootFcb);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
return Status;
|
||||
}
|
||||
|
||||
/* Search existing volume entry on disk */
|
||||
FileOffset.QuadPart = 0;
|
||||
|
|
Loading…
Reference in a new issue