From: Jeffrey Altman Date: Thu, 20 Oct 2011 18:06:47 +0000 (-0400) Subject: Windows: Use SetFlag macro when setting flag X-Git-Tag: upstream/1.8.0_pre1^2~3127 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=219624206ddee454e6bcbac7da7fe2fe632e39a7;p=packages%2Fo%2Fopenafs.git Windows: Use SetFlag macro when setting flag Change-Id: Ibda7ac5e30a623dc26f031831e75380fdf700a88 Reviewed-on: http://gerrit.openafs.org/5642 Reviewed-by: Rod Widdowson Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman --- diff --git a/src/WINNT/afsrdr/kernel/lib/AFSCommSupport.cpp b/src/WINNT/afsrdr/kernel/lib/AFSCommSupport.cpp index 3f05e8b93..74acdaad8 100644 --- a/src/WINNT/afsrdr/kernel/lib/AFSCommSupport.cpp +++ b/src/WINNT/afsrdr/kernel/lib/AFSCommSupport.cpp @@ -1329,7 +1329,7 @@ AFSNotifyDelete( IN AFSDirectoryCB *DirectoryCB, if( DirectoryCB->ObjectInformation->ParentObjectInformation->DataVersion.QuadPart != stDeleteResult.ParentDataVersion.QuadPart) { - DirectoryCB->ObjectInformation->ParentObjectInformation->Flags |= AFS_OBJECT_FLAGS_VERIFY; + SetFlag( DirectoryCB->ObjectInformation->ParentObjectInformation->Flags, AFS_OBJECT_FLAGS_VERIFY); DirectoryCB->ObjectInformation->ParentObjectInformation->DataVersion.QuadPart = (ULONGLONG)-1; }