]> git.michaelhowe.org Git - packages/o/openafs.git/commit
viced: Do not try to reuse deleted client
authorAndrew Deason <adeason@sinenomine.net>
Wed, 27 Apr 2011 20:36:44 +0000 (15:36 -0500)
committerDerrick Brashear <shadow@dementix.org>
Fri, 16 Dec 2011 11:01:03 +0000 (03:01 -0800)
commit580a9a5b84fc4f69087201e3fe7f94a5f97bf75c
tree82e5b12553b9be82a01e69881f47e2a78e2fbffe
parent1a3668c1bdc2e5944b88b314956430994f1668e5
viced: Do not try to reuse deleted client

When h_FindClient_r encounters a deleted client structure, it does not
try to find a different client structure to use. Force it to use a new
client structure by setting client to NULL when it detects a deleted
client.

This arguably reverts part of
4e55e30f5b2c149b350b6d6875793adf722fdc21, but the code paths in
h_FindClient_r are very different now, so that commit is probably not
too relevant.

Reviewed-on: http://gerrit.openafs.org/4582
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit b2c6a850738437256626e0dfe743a09224879ad4)

Change-Id: I5e3a12ee79847a915edeec732946b43270a35697
Reviewed-on: http://gerrit.openafs.org/6296
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/viced/host.c