From 4c80ae19356559a110af3d10f75612f1294c40b6 Mon Sep 17 00:00:00 2001 From: kanoi Date: Sun, 27 Jul 2014 22:01:45 +1000 Subject: [PATCH] ckdb - fix unlocking mistake --- src/klist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/klist.h b/src/klist.h index e0072aec..4621b487 100644 --- a/src/klist.h +++ b/src/klist.h @@ -65,7 +65,7 @@ typedef struct k_list { #define K_RLOCK(_list) ck_rlock(_list->lock) #define K_RUNLOCK(_list) ck_runlock(_list->lock) #define K_ILOCK(_list) ck_ilock(_list->lock) -#define K_IUNLOCK(_list) ck_ilock(_list->lock) +#define K_IUNLOCK(_list) ck_uilock(_list->lock) // Upgrade I to W #define K_ULOCK(_list) ck_ulock(_list->lock)