[FASTFAT]

- Move FCB list removal to vfatDelFCBFromTable, since vfatAddFCBToTable does the insert. Fixes list corruption in vfatUpdateFCB.

svn path=/trunk/; revision=64843
This commit is contained in:
Thomas Faber 2014-10-20 09:31:50 +00:00
parent bd73779966
commit 09f50240a3

View file

@ -199,6 +199,8 @@ vfatDelFCBFromTable(
}
entry->next = pFCB->Hash.next;
}
RemoveEntryList(&pFCB->FcbListEntry);
}
static
@ -302,7 +304,6 @@ vfatReleaseFCB(
{
ASSERT(pFCB->OpenHandleCount == 0);
tmpFcb = pFCB->parentFcb;
RemoveEntryList (&pFCB->FcbListEntry);
vfatDelFCBFromTable(pVCB, pFCB);
vfatDestroyFCB(pFCB);
}