Author: tfaber
Date: Mon Oct 20 09:31:50 2014
New Revision: 64843
URL:
http://svn.reactos.org/svn/reactos?rev=64843&view=rev
Log:
[FASTFAT]
- Move FCB list removal to vfatDelFCBFromTable, since vfatAddFCBToTable does the insert.
Fixes list corruption in vfatUpdateFCB.
Modified:
trunk/reactos/drivers/filesystems/fastfat/fcb.c
Modified: trunk/reactos/drivers/filesystems/fastfat/fcb.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfa…
==============================================================================
--- trunk/reactos/drivers/filesystems/fastfat/fcb.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/fastfat/fcb.c [iso-8859-1] Mon Oct 20 09:31:50 2014
@@ -199,6 +199,8 @@
}
entry->next = pFCB->Hash.next;
}
+
+ RemoveEntryList(&pFCB->FcbListEntry);
}
static
@@ -302,7 +304,6 @@
{
ASSERT(pFCB->OpenHandleCount == 0);
tmpFcb = pFCB->parentFcb;
- RemoveEntryList (&pFCB->FcbListEntry);
vfatDelFCBFromTable(pVCB, pFCB);
vfatDestroyFCB(pFCB);
}