Author: pschweitzer
Date: Fri Aug 4 19:18:42 2017
New Revision: 75481
URL:
http://svn.reactos.org/svn/reactos?rev=75481&view=rev
Log:
[RDBSS]
On cleanup, only take the quick path if the file was already orphaned
CORE-11327
Modified:
trunk/reactos/sdk/lib/drivers/rdbsslib/rdbss.c
Modified: trunk/reactos/sdk/lib/drivers/rdbsslib/rdbss.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/drivers/rdbsslib/r…
==============================================================================
--- trunk/reactos/sdk/lib/drivers/rdbsslib/rdbss.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/drivers/rdbsslib/rdbss.c [iso-8859-1] Fri Aug 4 19:18:42 2017
@@ -1847,8 +1847,8 @@
Fobx->AssociatedFileObject = NULL;
- /* In case SRV_OPEN used is part of FCB */
- if (BooleanFlagOn(Fcb->FcbState, FCB_STATE_SRVOPEN_USED))
+ /* In case it was already orphaned */
+ if (BooleanFlagOn(Fcb->FcbState, FCB_STATE_ORPHANED))
{
ASSERT(Fcb->UncleanCount != 0);
InterlockedDecrement((volatile long *)&Fcb->UncleanCount);