mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +00:00
[RDBSS]
On cleanup, only take the quick path if the file was already orphaned CORE-11327 svn path=/trunk/; revision=75481
This commit is contained in:
parent
e010523b86
commit
6afca05215
|
@ -1847,8 +1847,8 @@ RxCommonCleanup(
|
|||
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue