From: Pierre Schweitzer Date: Sun, 5 Nov 2017 12:47:58 +0000 (+0100) Subject: [CDFS] Set the FO_CLEANUP_COMPLETE on cleanup X-Git-Tag: v0.4.7~133 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=f65b294f21549e7331c6117372d245d45317417e;ds=sidebyside [CDFS] Set the FO_CLEANUP_COMPLETE on cleanup --- diff --git a/drivers/filesystems/cdfs/cleanup.c b/drivers/filesystems/cdfs/cleanup.c index 10d7704636d..63ae24f7d92 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; }