From 93806f58a620e3e0fabd75db538c789cdc653afe Mon Sep 17 00:00:00 2001 From: Prakash Surya Date: Mon, 12 Dec 2011 15:37:30 -0800 Subject: Fix usage of MUTEX macro in mutex_enter_nested A call site of the MUTEX macro had incorrectly placed its closing parenthesis, causing two parameters to be passed rather than one. This change moves the misplaced parenthesis to fix the typographical error. Signed-off-by: Prakash Surya Signed-off-by: Brian Behlendorf Closes #70 --- include/sys/mutex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sys') diff --git a/include/sys/mutex.h b/include/sys/mutex.h index b41b3cead..213bc2477 100644 --- a/include/sys/mutex.h +++ b/include/sys/mutex.h @@ -195,7 +195,7 @@ spl_mutex_clear_owner(kmutex_t *mp) #ifdef HAVE_GPL_ONLY_SYMBOLS # define mutex_enter_nested(mp, sc) \ ({ \ - mutex_lock_nested(MUTEX(mp, sc)); \ + mutex_lock_nested(MUTEX(mp), sc); \ spl_mutex_set_owner(mp); \ }) #else -- cgit v1.2.3