Skip to content

Commit c71d198

Browse files
HeisSpiterJoachimHenze
authored andcommitted
[0.4.9] cherry-pick [FASTFAT] Initialize cache if neded for changing volume label.
CORE-14654 (cherry picked from commit 47b9db9)
1 parent a757a3f commit c71d198

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/filesystems/fastfat/volume.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,11 @@ FsdSetFsLabelInformation(
313313
}
314314

315315
pRootFcb = vfatOpenRootFCB(DeviceExt);
316+
Status = vfatFCBInitializeCacheFromVolume(DeviceExt, pRootFcb);
317+
if (!NT_SUCCESS(Status))
318+
{
319+
return Status;
320+
}
316321

317322
/* Search existing volume entry on disk */
318323
FileOffset.QuadPart = 0;

0 commit comments

Comments
 (0)