From 1552a7d92d16cb6eee003a8ef8072e2db05b0973 Mon Sep 17 00:00:00 2001 From: kanoi Date: Thu, 31 Dec 2015 19:08:32 +1100 Subject: [PATCH] ckdb - store doesn't need a copy of the list lock --- src/ckdb.h | 2 +- src/klist.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ckdb.h b/src/ckdb.h index caee1fe2..c6640ada 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -51,7 +51,7 @@ #define DB_VLOCK "1" #define DB_VERSION "1.0.4" -#define CKDB_VERSION DB_VERSION"-1.900" +#define CKDB_VERSION DB_VERSION"-1.901" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__ diff --git a/src/klist.c b/src/klist.c index 68da30b7..66298ea1 100644 --- a/src/klist.c +++ b/src/klist.c @@ -145,7 +145,7 @@ K_STORE *_k_new_store(K_LIST *list, KLIST_FFL_ARGS) store->master = list; store->is_store = true; - store->lock = list->lock; + store->lock = NULL; store->name = list->name; store->do_tail = list->do_tail; list->stores++;