aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorPrakash Surya <[email protected]>2011-12-12 15:37:30 -0800
committerBrian Behlendorf <[email protected]>2011-12-13 11:04:21 -0800
commit93806f58a620e3e0fabd75db538c789cdc653afe (patch)
tree0c76ec43b9bc99de3a464cf2f36c9fabcf185970 /include/sys
parent791dc876eb59f1543fee0bcfc1a97691c643ea3c (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #70
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/mutex.h2
1 files changed, 1 insertions, 1 deletions
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