Skip to content

Commit

Permalink
crawler: remove bad mutex unlock during error
Browse files Browse the repository at this point in the history
Detail in: memcached#741
  • Loading branch information
dormando committed Nov 20, 2020
1 parent 1332f52 commit 4821f7e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crawler.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4821f7e

Please sign in to comment.