]> git.michaelhowe.org Git - packages/o/openafs.git/commit
STABLE12-prevent-host-deletion-race-20020415
authorNickolai Zeldovich <kolya@mit.edu>
Sat, 8 Jun 2002 01:14:13 +0000 (01:14 +0000)
committerDerrick Brashear <shadow@dementia.org>
Sat, 8 Jun 2002 01:14:13 +0000 (01:14 +0000)
commite98be7e5fcdf3ac72f005751df4dd7f52f5637d9
treea5eb9d36a15172bb2017a6180c803d16a4d99d6e
parentdf755e0923ddbf99bce4161130065dc92a9a96e1
STABLE12-prevent-host-deletion-race-20020415

Make h_Lookup_r return the host held, and ensure that it's not
deleted at that point; otherwise, the host may be deleted by
another thread between a call to h_Lookup_r and the time when
we actually get around to h_Hold'ing it.

(cherry picked from commit d4493526a764f5d4d1ef6a437ab8cfa467077be6)
src/viced/host.c