git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
viced-missing-lock-20071109
[openafs.git]
/
src
/
viced
/
host.c
diff --git
a/src/viced/host.c
b/src/viced/host.c
index
764a558
..
24809b5
100644
(file)
--- a/
src/viced/host.c
+++ b/
src/viced/host.c
@@
-1576,6
+1576,7
@@
h_GetHost_r(struct rx_connection *tcon)
host->interface ? uuid2 : "no_uuid"));
/* The host in the cache is not the host for this connection */
+ h_Lock_r(host);
host->hostFlags |= HOSTDELETED;
host->hostFlags &= ~HWHO_INPROGRESS;
h_Unlock_r(host);