Commit a6c7f8c3 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Forgot storage_umem

parent 73ba50b8
...@@ -255,10 +255,10 @@ smu_open(struct stevedore *st) ...@@ -255,10 +255,10 @@ smu_open(struct stevedore *st)
ASSERT_CLI(); ASSERT_CLI();
st->lru = LRU_Alloc(); st->lru = LRU_Alloc();
if (lck_smu == NULL) if (lck_smu == NULL)
lck_smu = Lck_CreateClass("smu"); lck_smu = Lck_CreateClass(NULL, "smu");
CAST_OBJ_NOTNULL(smu_sc, st->priv, SMU_SC_MAGIC); CAST_OBJ_NOTNULL(smu_sc, st->priv, SMU_SC_MAGIC);
Lck_New(&smu_sc->smu_mtx, lck_smu); Lck_New(&smu_sc->smu_mtx, lck_smu);
smu_sc->stats = VSC_smu_New(st->ident); smu_sc->stats = VSC_smu_New(NULL, st->ident);
if (smu_sc->smu_max != SIZE_MAX) if (smu_sc->smu_max != SIZE_MAX)
smu_sc->stats->g_space = smu_sc->smu_max; smu_sc->stats->g_space = smu_sc->smu_max;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment