summaryrefslogtreecommitdiff
path: root/crawler.c
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2020-11-20 12:36:25 -0800
committerdormando <dormando@rydia.net>2020-11-20 12:36:25 -0800
commit4821f7e8737f0265f032aa1c3318aeb871015f16 (patch)
treec63ae9f672af3d94ad0583ca6a0a91d31f9f3934 /crawler.c
parent1332f52df4dc9084325d348ac12a8fdc44811d17 (diff)
downloadmemcached-4821f7e8737f0265f032aa1c3318aeb871015f16.tar.gz
crawler: remove bad mutex unlock during error
Detail in: https://github.com/memcached/memcached/issues/741
Diffstat (limited to 'crawler.c')
-rw-r--r--crawler.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawler.c b/crawler.c
index 5a24cf5..de7d99c 100644
--- a/crawler.c
+++ b/crawler.c
@@ -736,7 +736,6 @@ enum crawler_result_type lru_crawler_crawl(char *slabs, const enum crawler_run_t
if (!safe_strtoul(p, &sid) || sid < POWER_SMALLEST
|| sid >= MAX_NUMBER_OF_SLAB_CLASSES) {
- pthread_mutex_unlock(&lru_crawler_lock);
return CRAWLER_BADCLASS;
}
tocrawl[sid | TEMP_LRU] = 1;