From: Derrick Brashear Date: Thu, 27 May 2010 14:58:03 +0000 (-0400) Subject: background daemon don't wipe code before it gets used X-Git-Tag: openafs-devel-1_5_75~224 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=314ae59401820ab7a2dae10263959ea055bf6bd7;p=packages%2Fo%2Fopenafs.git background daemon don't wipe code before it gets used the bop allocation will clear the bop structure on reuse. don't clear the error code early. Change-Id: Ie32bef854d28a575387e2488f10c302486dfd20b Reviewed-on: http://gerrit.openafs.org/2042 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/afs_daemons.c b/src/afs/afs_daemons.c index 0627acd57..412a12891 100644 --- a/src/afs/afs_daemons.c +++ b/src/afs/afs_daemons.c @@ -991,7 +991,6 @@ brequest_release(struct brequest *tb) crfree(tb->cred); tb->cred = (afs_ucred_t *)0; } - tb->code = 0; afs_BRelease(tb); /* this grabs and releases afs_xbrs lock */ }