Skip to content

Commit 319fedc

Browse files
committed
fastfat: Remove code dublication, which has added r6279
svn path=/branches/GSoC_2016/USB/; revision=72459
1 parent 3eefafd commit 319fedc

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

drivers/filesystems/fastfat/flush.c

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -77,25 +77,6 @@ VfatFlushVolume(
7777
/* FIXME: Stop flushing if this is a removable media and the media was removed */
7878
}
7979

80-
ListEntry = DeviceExt->FcbListHead.Flink;
81-
while (ListEntry != &DeviceExt->FcbListHead)
82-
{
83-
Fcb = CONTAINING_RECORD(ListEntry, VFATFCB, FcbListEntry);
84-
ListEntry = ListEntry->Flink;
85-
if (vfatFCBIsDirectory(Fcb))
86-
{
87-
ExAcquireResourceExclusiveLite(&Fcb->MainResource, TRUE);
88-
Status = VfatFlushFile(DeviceExt, Fcb);
89-
ExReleaseResourceLite (&Fcb->MainResource);
90-
if (!NT_SUCCESS(Status))
91-
{
92-
DPRINT1("VfatFlushFile failed, status = %x\n", Status);
93-
ReturnStatus = Status;
94-
}
95-
}
96-
/* FIXME: Stop flushing if this is a removable media and the media was removed */
97-
}
98-
9980
Fcb = (PVFATFCB) DeviceExt->FATFileObject->FsContext;
10081

10182
ExAcquireResourceExclusiveLite(&DeviceExt->FatResource, TRUE);

0 commit comments

Comments
 (0)