mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[NTFS]
Don't attempt to uninitialize cache map with a spin lock held. svn path=/trunk/; revision=65191
This commit is contained in:
parent
82f99f5e41
commit
6ea5fe3e43
1 changed files with 5 additions and 2 deletions
|
@ -162,11 +162,14 @@ NtfsReleaseFCB(PNTFS_VCB Vcb,
|
|||
if (Fcb->RefCount <= 0 && !NtfsFCBIsDirectory(Fcb))
|
||||
{
|
||||
RemoveEntryList(&Fcb->FcbListEntry);
|
||||
KeReleaseSpinLock(&Vcb->FcbListLock, oldIrql);
|
||||
CcUninitializeCacheMap(Fcb->FileObject, NULL, NULL);
|
||||
NtfsDestroyFCB(Fcb);
|
||||
}
|
||||
|
||||
KeReleaseSpinLock(&Vcb->FcbListLock, oldIrql);
|
||||
else
|
||||
{
|
||||
KeReleaseSpinLock(&Vcb->FcbListLock, oldIrql);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue