From: Alex Rousskov Date: Mon, 28 Apr 2014 15:58:39 +0000 (-0600) Subject: Fixed typo breaking accounting of [forgotten] entries during index build. X-Git-Tag: SQUID_3_5_0_1~170^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51dcaa0396d9af79ce34036b5e325ad4355f5dfd;p=thirdparty%2Fsquid.git Fixed typo breaking accounting of [forgotten] entries during index build. Forgotten entries would still contribute to the total entry count and, hence, result in some entries being evicted from cache prematurely. Added in "Stop wasting 96 RAM bytes per slot" revision (branch r13321). --- diff --git a/src/ipc/StoreMap.cc b/src/ipc/StoreMap.cc index 86581fc099..f50d516f58 100644 --- a/src/ipc/StoreMap.cc +++ b/src/ipc/StoreMap.cc @@ -74,7 +74,7 @@ Ipc::StoreMap::forgetWritingEntry(sfileno fileno) inode.rewind(); inode.lock.unlockExclusive(); - anchors->count; + --anchors->count; debugs(54, 8, "closed entry " << fileno << " for writing " << path); }