Put extent_state_t into ecache as well as eset.

This commit is contained in:
David Goldblatt 2019-12-12 16:44:49 -08:00 committed by David Goldblatt
parent 98eb40e563
commit d8b0b66c6c
6 changed files with 17 additions and 17 deletions

View file

@ -19,11 +19,6 @@ eset_init(eset_t *eset, extent_state_t state) {
eset->state = state;
}
extent_state_t
eset_state_get(const eset_t *eset) {
return eset->state;
}
size_t
eset_npages_get(eset_t *eset) {
return atomic_load_zu(&eset->npages, ATOMIC_RELAXED);