]> err.no Git - varnish/commitdiff
Don't clear alloc, it will be done in due time.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 7 Sep 2006 07:12:18 +0000 (07:12 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 7 Sep 2006 07:12:18 +0000 (07:12 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@939 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/storage_file.c

index b93b7734cd2bdd34b5d9d4d8a48ca0e7f3f8ac52..354d388d037ebb5c83591e613b9d0da2edf897ab 100644 (file)
@@ -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);