HPA: Pull out a hooks type.

For now, this is a no-op change.  In a subsequent commit, it will be useful for
testing.
This commit is contained in:
David Goldblatt
2021-06-14 14:18:08 -07:00
committed by David Goldblatt
parent 1d4a7666d5
commit 113938b6f4
14 changed files with 100 additions and 29 deletions

View File

@@ -42,7 +42,7 @@ create_test_data() {
err = hpa_shard_init(&test_data->shard, &test_data->emap,
test_data->base, &test_data->shard_edata_cache, SHARD_IND,
&opts);
&hpa_hooks_default, &opts);
assert_false(err, "");
return (hpa_shard_t *)test_data;