Mailing List Archive

r1727 - trunk/varnish-cache/bin/varnishd
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) {