metadump: Fix preventing dumping of class 63
Off by one :|
@@ -590,7 +590,7 @@ enum crawler_result_type lru_crawler_crawl(char *slabs, const enum crawler_run_t
p = strtok_r(NULL, ",", &b)) {
if (!safe_strtoul(p, &sid) || sid < POWER_SMALLEST
- || sid >= MAX_NUMBER_OF_SLAB_CLASSES-1) {
+ || sid >= MAX_NUMBER_OF_SLAB_CLASSES) {
pthread_mutex_unlock(&lru_crawler_lock);
return CRAWLER_BADCLASS;
}
