FBSD: StopListener glocking fixup
authorBen Kaduk <kaduk@mit.edu>
Sun, 19 Dec 2010 05:06:13 +0000 (00:06 -0500)
committerDerrick Brashear <shadow@dementia.org>
Mon, 20 Dec 2010 21:43:09 +0000 (13:43 -0800)
commit28032bc1c1aaa4c25e94025a8fa9e2b4e8131ce3
treef8626013c711fb1508dc82779bfb7ecb16ec3951
parentad0b390ec5303576cee37fa49bfd2a732b365a83
FBSD: StopListener glocking fixup

afs_osi_Sleep requires the glock (so that it can sleep on it); we
dropped the glock earlier in osi_StopListener because soshutdown and
soclose can sleep, but we must (unconditionally!) acquire it for our
loop waiting on rxk_ListenerPid.

Change-Id: I38c3ab6689a6af7f1693bd3c8348068ee280e530
Reviewed-on: http://gerrit.openafs.org/3549
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/rx/FBSD/rx_knet.c