mirror of
https://github.com/reactos/reactos.git
synced 2025-03-30 17:10:22 +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;
|
entry->next = pFCB->Hash.next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RemoveEntryList(&pFCB->FcbListEntry);
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static
|
||||||
|
@ -302,7 +304,6 @@ vfatReleaseFCB(
|
||||||
{
|
{
|
||||||
ASSERT(pFCB->OpenHandleCount == 0);
|
ASSERT(pFCB->OpenHandleCount == 0);
|
||||||
tmpFcb = pFCB->parentFcb;
|
tmpFcb = pFCB->parentFcb;
|
||||||
RemoveEntryList (&pFCB->FcbListEntry);
|
|
||||||
vfatDelFCBFromTable(pVCB, pFCB);
|
vfatDelFCBFromTable(pVCB, pFCB);
|
||||||
vfatDestroyFCB(pFCB);
|
vfatDestroyFCB(pFCB);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue