[master] a6c7f8c Forgot storage_umem
Poul-Henning Kamp
phk at FreeBSD.org
Fri Dec 22 10:10:07 UTC 2017
commit a6c7f8c3b462108e1012823e4c669fed3a88814d
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Fri Dec 22 10:09:06 2017 +0000
Forgot storage_umem
diff --git a/bin/varnishd/storage/storage_umem.c b/bin/varnishd/storage/storage_umem.c
index 0510412..f951f09 100644
--- a/bin/varnishd/storage/storage_umem.c
+++ b/bin/varnishd/storage/storage_umem.c
@@ -255,10 +255,10 @@ smu_open(struct stevedore *st)
ASSERT_CLI();
st->lru = LRU_Alloc();
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);
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)
smu_sc->stats->g_space = smu_sc->smu_max;
More information about the varnish-commit
mailing list