https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f65b294f21549e7331c6117372d245d45317417e

commit f65b294f21549e7331c6117372d245d45317417e
Author: Pierre Schweitzer <[email protected]>
AuthorDate: Sun Nov 5 13:47:58 2017 +0100

    [CDFS] Set the FO_CLEANUP_COMPLETE on cleanup
---
 drivers/filesystems/cdfs/cleanup.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/filesystems/cdfs/cleanup.c 
b/drivers/filesystems/cdfs/cleanup.c
index 10d7704636..63ae24f7d9 100644
--- a/drivers/filesystems/cdfs/cleanup.c
+++ b/drivers/filesystems/cdfs/cleanup.c
@@ -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;
 }
 

Reply via email to