r1727 - trunk/varnish-cache/bin/varnishd

des at projects.linpro.no des at projects.linpro.no
Fri Jul 20 10:38:22 CEST 2007


Author: des
Date: 2007-07-20 10:38:22 +0200 (Fri, 20 Jul 2007)
New Revision: 1727

Modified:
   trunk/varnish-cache/bin/varnishd/cache_expire.c
Log:
Let the LRU code worry about this.


Modified: trunk/varnish-cache/bin/varnishd/cache_expire.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_expire.c	2007-07-20 08:32:04 UTC (rev 1726)
+++ trunk/varnish-cache/bin/varnishd/cache_expire.c	2007-07-20 08:38:22 UTC (rev 1727)
@@ -82,8 +82,7 @@
 EXP_Terminate(struct object *o)
 {
 	LOCK(&exp_mtx);
-	if (o->lru_stamp)
-		LRU_Remove(o);
+	LRU_Remove(o);
 	if (o->heap_idx)
 		binheap_delete(exp_heap, o->heap_idx);
 	if (o->deathrow.tqe_next) {




More information about the varnish-commit mailing list