[4.0] c24c26e Expose WS_MarkOverflow()
Lasse Karstensen
lkarsten at varnish-software.com
Mon Sep 22 16:38:22 CEST 2014
commit c24c26e05968cb61c4cc183fb55aadc6d9d902d6
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue Jun 24 10:38:22 2014 +0000
Expose WS_MarkOverflow()
diff --git a/bin/varnishd/cache/cache.h b/bin/varnishd/cache/cache.h
index b95bc65..7ce01db 100644
--- a/bin/varnishd/cache/cache.h
+++ b/bin/varnishd/cache/cache.h
@@ -1235,6 +1235,7 @@ void WRK_BgThread(pthread_t *thr, const char *name, bgthread_t *func,
void WS_Init(struct ws *ws, const char *id, void *space, unsigned len);
unsigned WS_Reserve(struct ws *ws, unsigned bytes);
+void WS_MarkOverflow(struct ws *ws);
void WS_Release(struct ws *ws, unsigned bytes);
void WS_ReleaseP(struct ws *ws, char *ptr);
void WS_Assert(const struct ws *ws);
diff --git a/bin/varnishd/cache/cache_ws.c b/bin/varnishd/cache/cache_ws.c
index 8ef7aca..ccc887c 100644
--- a/bin/varnishd/cache/cache_ws.c
+++ b/bin/varnishd/cache/cache_ws.c
@@ -85,7 +85,7 @@ WS_Init(struct ws *ws, const char *id, void *space, unsigned len)
}
-static void
+void
WS_MarkOverflow(struct ws *ws)
{
CHECK_OBJ_NOTNULL(ws, WS_MAGIC);
More information about the varnish-commit
mailing list