[FASTFAT] Initialize cache if neded for changing volume label.

CORE-14654
This commit is contained in:
Pierre Schweitzer 2018-05-26 10:12:00 +02:00
parent 4db10a404c
commit 47b9db9d02
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -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;