From: Pierre Schweitzer Date: Sat, 26 May 2018 08:12:00 +0000 (+0200) Subject: [FASTFAT] Initialize cache if neded for changing volume label. X-Git-Tag: 0.4.11-dev~596 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=47b9db9d029c5f53d49343677998c70ed85d791d [FASTFAT] Initialize cache if neded for changing volume label. CORE-14654 --- diff --git a/drivers/filesystems/fastfat/volume.c b/drivers/filesystems/fastfat/volume.c index 7222b9bcebd..f4f8f738ebf 100644 --- a/drivers/filesystems/fastfat/volume.c +++ b/drivers/filesystems/fastfat/volume.c @@ -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;