mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 05:26:58 +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
|
@ -313,6 +313,11 @@ FsdSetFsLabelInformation(
|
||||||
}
|
}
|
||||||
|
|
||||||
pRootFcb = vfatOpenRootFCB(DeviceExt);
|
pRootFcb = vfatOpenRootFCB(DeviceExt);
|
||||||
|
Status = vfatFCBInitializeCacheFromVolume(DeviceExt, pRootFcb);
|
||||||
|
if (!NT_SUCCESS(Status))
|
||||||
|
{
|
||||||
|
return Status;
|
||||||
|
}
|
||||||
|
|
||||||
/* Search existing volume entry on disk */
|
/* Search existing volume entry on disk */
|
||||||
FileOffset.QuadPart = 0;
|
FileOffset.QuadPart = 0;
|
||||||
|
|
Loading…
Reference in a new issue