We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae5aa9c commit 98e87bcCopy full SHA for 98e87bc
drivers/filesystems/fastfat/flush.c
@@ -33,6 +33,7 @@ VfatFlushFile(
33
IoStatus.Status = STATUS_SUCCESS;
34
}
35
36
+ ExAcquireResourceExclusiveLite(&DeviceExt->DirResource, TRUE);
37
if (BooleanFlagOn(Fcb->Flags, FCB_IS_DIRTY))
38
{
39
Status = VfatUpdateEntry(DeviceExt, Fcb);
@@ -41,6 +42,8 @@ VfatFlushFile(
41
42
IoStatus.Status = Status;
43
44
45
+ ExReleaseResourceLite(&DeviceExt->DirResource);
46
+
47
return IoStatus.Status;
48
49
0 commit comments