]> err.no Git - varnish/commitdiff
Let the LRU code worry about this.
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 20 Jul 2007 08:38:22 +0000 (08:38 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 20 Jul 2007 08:38:22 +0000 (08:38 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1727 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_expire.c

index fea85ce041bce6f9a4a8f4c68962eb73731c84d6..fc617d8f85c2ecea9f906412d5203360d357783c 100644 (file)
@@ -82,8 +82,7 @@ void
 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) {