mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[FASTFAT] Initialize cache if neded for changing volume label.
CORE-14654
This commit is contained in:
parent
4db10a404c
commit
47b9db9d02
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