mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
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 <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
c0408db079
commit
314ae59401
@ -991,7 +991,6 @@ brequest_release(struct brequest *tb)
|
|||||||
crfree(tb->cred);
|
crfree(tb->cred);
|
||||||
tb->cred = (afs_ucred_t *)0;
|
tb->cred = (afs_ucred_t *)0;
|
||||||
}
|
}
|
||||||
tb->code = 0;
|
|
||||||
afs_BRelease(tb); /* this grabs and releases afs_xbrs lock */
|
afs_BRelease(tb); /* this grabs and releases afs_xbrs lock */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user