mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
Windows: no side effects from AFSDbgLogMsg calls
Do not perform assignments or call side-effect resulting functions as parameters to AFSDbgLogMsg. Change-Id: I76eca3a82377543f4148d03af51a07886127b385 Reviewed-on: http://gerrit.openafs.org/9242 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com> Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
parent
ea04415201
commit
ff649d5bf5
@ -1030,13 +1030,15 @@ try_exit:
|
||||
SetFlag( pCcb->Flags, CCB_FLAG_MASK_OPENED_REPARSE_POINT);
|
||||
}
|
||||
|
||||
lCount = pCcb->DirectoryCB->DirOpenReferenceCount;
|
||||
|
||||
AFSDbgLogMsg( AFS_SUBSYSTEM_DIRENTRY_REF_COUNTING,
|
||||
AFS_TRACE_LEVEL_VERBOSE,
|
||||
"AFSCommonCreate Count on %wZ DE %p Ccb %p Cnt %d\n",
|
||||
&pCcb->DirectoryCB->NameInformation.FileName,
|
||||
pCcb->DirectoryCB,
|
||||
pCcb,
|
||||
lCount = pCcb->DirectoryCB->DirOpenReferenceCount);
|
||||
lCount);
|
||||
|
||||
ASSERT( lCount >= 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user