mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[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:
parent
bd73779966
commit
09f50240a3
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue