From: Andrew Deason Date: Mon, 21 May 2012 17:22:24 +0000 (-0500) Subject: Revert "afs: the assert seems to be inverted when using memcache" X-Git-Tag: upstream/1.8.0_pre1^2~2397 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=cfae6cda3fe1efa8703ece3e6a8118f76e6c5411;p=packages%2Fo%2Fopenafs.git Revert "afs: the assert seems to be inverted when using memcache" This reverts commit bc7f10130f7b96923d1a1ad5c688ef0106a83178. Change-Id: Ie4f4a103177f0485fc1196acfe4203ce06b6ce15 Reviewed-on: http://gerrit.openafs.org/7428 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- diff --git a/src/afs/afs_dcache.c b/src/afs/afs_dcache.c index c2a5b0414..846033b75 100644 --- a/src/afs/afs_dcache.c +++ b/src/afs/afs_dcache.c @@ -2626,7 +2626,7 @@ afs_MemGetDSlot(afs_int32 aslot, int needvalid) return tdc; } - osi_Assert(needvalid); + osi_Assert(!needvalid); if (!afs_freeDSList) afs_GetDownDSlot(4);