Some nits in cache_bin.h

This commit is contained in:
Amaury Séchet 2023-04-20 22:38:28 +00:00 committed by Qi Wang
parent fc680128e0
commit f2b28906e6

View File

@ -642,7 +642,7 @@ cache_bin_finish_flush(cache_bin_t *bin, cache_bin_info_t *info,
unsigned rem = cache_bin_ncached_get_local(bin, info) - nflushed;
memmove(bin->stack_head + nflushed, bin->stack_head,
rem * sizeof(void *));
bin->stack_head = bin->stack_head + nflushed;
bin->stack_head += nflushed;
cache_bin_low_water_adjust(bin);
}