]> git.michaelhowe.org Git - packages/o/openafs.git/commit
viced: Transfer host ref in h_FindClient_r
authorAndrew Deason <adeason@sinenomine.net>
Wed, 27 Apr 2011 18:51:23 +0000 (13:51 -0500)
committerDerrick Brashear <shadow@dementia.org>
Tue, 3 May 2011 02:18:49 +0000 (19:18 -0700)
commitb1ce3765d3427caa96c9cb33ec772212531b5031
treea28860c234ebf18f361f7b4c9b98664dd84f9f91
parenta8b7a1e017a5e16137c00f66701913044bb8ef05
viced: Transfer host ref in h_FindClient_r

In h_FindClient_r, we can change which client structure we're dealing
with if we find a different client struct in the Rx conn-specific
data. We adjust the refcounts for the client structures themselves,
but not the associated hosts. While the host structures should be the
same most of the time, we are not guaranteed that, so adjust their
refcounts as well.

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

Change-Id: I9ec5ed707ef6b726c358fcaa46d81b9ea1a17ce7
Reviewed-on: http://gerrit.openafs.org/4591
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/viced/host.c