[CDFS] Set the FO_CLEANUP_COMPLETE on cleanup

This commit is contained in:
Pierre Schweitzer 2017-11-05 13:47:58 +01:00
parent 244b4f99b3
commit f65b294f21
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -77,6 +77,9 @@ CdfsCleanupFile(PCDFS_IRP_CONTEXT IrpContext,
CcUninitializeCacheMap (FileObject, NULL, NULL);
}
/* Inform cleanup is complete */
FileObject->Flags |= FO_CLEANUP_COMPLETE;
return STATUS_SUCCESS;
}