ck_hs: Use slot bound limit for ck_hs_fas operation.

ck_pring
Samy Al Bahra 11 years ago
parent cc3962d675
commit ec79ea0b2d

@ -588,7 +588,8 @@ ck_hs_fas(struct ck_hs *hs,
struct ck_hs_map *map = hs->map; struct ck_hs_map *map = hs->map;
*previous = NULL; *previous = NULL;
slot = ck_hs_map_probe(hs, map, &n_probes, &first, h, key, &object, map->probe_maximum, CK_HS_PROBE); slot = ck_hs_map_probe(hs, map, &n_probes, &first, h, key, &object,
ck_hs_map_bound_get(map, h), CK_HS_PROBE);
/* Replacement semantics presume existence. */ /* Replacement semantics presume existence. */
if (object == NULL) if (object == NULL)

Loading…
Cancel
Save