[3.0] cc1f635 Revert "Mark ban list as volatile".

Lasse Karstensen lkarsten at varnish-cache.org
Thu Sep 20 11:32:00 CEST 2012


commit cc1f6351ec8f869fe1e707fd95fe08456234a081
Author: Lasse Karstensen <lasse at varnish-software.com>
Date:   Thu Sep 20 11:27:32 2012 +0200

    Revert "Mark ban list as volatile".
    
    This reverts commit 2587b1b973b1c4e019ee74da7a93fe31af5a6186.
    
    3.0 branch does not build with this commit.

diff --git a/bin/varnishd/cache_ban.c b/bin/varnishd/cache_ban.c
index 138a1f6..5c1da57 100644
--- a/bin/varnishd/cache_ban.c
+++ b/bin/varnishd/cache_ban.c
@@ -81,8 +81,7 @@ struct ban_test {
 	const void		*arg2_spec;
 };
 
-/* XXX phk thinks he knows why this is a good idea */
-static volatile VTAILQ_HEAD(banhead_s,ban) ban_head = VTAILQ_HEAD_INITIALIZER(ban_head);
+static VTAILQ_HEAD(banhead_s,ban) ban_head = VTAILQ_HEAD_INITIALIZER(ban_head);
 static struct lock ban_mtx;
 static struct ban *ban_magic;
 static pthread_t ban_thread;



More information about the varnish-commit mailing list