mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
STABLE146-viced-missing-lock-20071109
FIXES 76713 Add missing lock that needs to protect an in use 'host' from having HOSTDELETED added to the hostFlags and HWNO_INPROGRESS removed. (cherry picked from commit 76c886b574b7d21db2557872be8af8e6ca549f34)
This commit is contained in:
parent
faf46aadb4
commit
4fdbf026e5
@ -1558,6 +1558,7 @@ h_GetHost_r(struct rx_connection *tcon)
|
||||
host->interface ? uuid2 : ""));
|
||||
|
||||
/* 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user