From: Ben Kaduk Date: Wed, 17 Jul 2013 20:09:09 +0000 (-0400) Subject: Verify, not Assert, for the (util) global mutex X-Git-Tag: openafs-stable-1_8_0pre1~1049 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=0d4aae8e6bac495642e7328e26c96d6e5e8144ed Verify, not Assert, for the (util) global mutex We don't want turning off debugging to force open this lock. Change-Id: Ia8dd689c506e42a4bf87c83af23d7457df12f8b9 Reviewed-on: http://gerrit.openafs.org/10092 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/util/pthread_glock.h b/src/util/pthread_glock.h index 1fe464b..e323e3f 100644 --- a/src/util/pthread_glock.h +++ b/src/util/pthread_glock.h @@ -35,10 +35,10 @@ extern int pthread_recursive_mutex_lock(pthread_recursive_mutex_p); extern int pthread_recursive_mutex_unlock(pthread_recursive_mutex_p); #define LOCK_GLOBAL_MUTEX \ - opr_Assert(pthread_recursive_mutex_lock(&grmutex)==0) + opr_Verify(pthread_recursive_mutex_lock(&grmutex)==0) #define UNLOCK_GLOBAL_MUTEX \ - opr_Assert(pthread_recursive_mutex_unlock(&grmutex)==0) + opr_Verify(pthread_recursive_mutex_unlock(&grmutex)==0) #else