sys: FspFileNodeCopyActiveList, FspFileNodeCopyOpenList

This commit is contained in:
Bill Zissimopoulos
2017-01-03 23:14:33 -08:00
parent 95bbb584eb
commit 638e5a20b6
5 changed files with 81 additions and 7 deletions

View File

@ -294,9 +294,9 @@ VOID FspVolumeDelete(
FspDeviceGlobalUnlock();
/*
* Call MmForceSectionClosed on open files to ensure that Mm removes them from Standby List.
* Call MmForceSectionClosed on active files to ensure that Mm removes them from Standby List.
*/
Result = FspFileNodeCopyList(FsvolDeviceObject, &FileNodes, &FileNodeCount);
Result = FspFileNodeCopyActiveList(FsvolDeviceObject, &FileNodes, &FileNodeCount);
if (NT_SUCCESS(Result))
{
for (Index = FileNodeCount - 1; FileNodeCount > Index; Index--)