From 0d4aae8e6bac495642e7328e26c96d6e5e8144ed Mon Sep 17 00:00:00 2001 From: Ben Kaduk Date: Wed, 17 Jul 2013 16:09:09 -0400 Subject: [PATCH] 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 --- src/util/pthread_glock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/pthread_glock.h b/src/util/pthread_glock.h index 1fe464b10..e323e3f4b 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 -- 2.39.5