From: phk Date: Thu, 7 Sep 2006 07:12:18 +0000 (+0000) Subject: Don't clear alloc, it will be done in due time. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3b5220448abe10ef86a7a7e75aeaa5a410b1b44;p=varnish Don't clear alloc, it will be done in due time. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@939 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/storage_file.c b/varnish-cache/bin/varnishd/storage_file.c index b93b7734..354d388d 100644 --- a/varnish-cache/bin/varnishd/storage_file.c +++ b/varnish-cache/bin/varnishd/storage_file.c @@ -460,7 +460,6 @@ trim_smf(struct smf *sp, size_t bytes) sp->size = bytes; sp2->ptr += bytes; sp2->offset += bytes; - sp2->alloc = 0; VSL(SLT_Debug, 0, "FILE T %p -> %p %ju %d", sp, sp2, sp2->size); TAILQ_INSERT_TAIL(&sc->used, sp2, status); TAILQ_INSERT_AFTER(&sc->order, sp, sp2, order);