mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
STABLE146-giveupallcallbacks-locking-20071121
LICENSE IPL10
FIXES 74708
Hold H_LOCK across calls into GiveUpAllCallbacks_r
(cherry picked from commit b0b3565b69
)
This commit is contained in:
parent
9c5b45d252
commit
c9263a258a
@ -6112,7 +6112,9 @@ common_GiveUpCallBacks(struct rx_call *acall, struct AFSCBFids *FidArray,
|
||||
(tcon->peer ? tcon->peer->host : 0)));
|
||||
errorCode = GetClient(tcon, &client);
|
||||
if (!errorCode) {
|
||||
H_LOCK;
|
||||
DeleteAllCallBacks_r(client->host, 1);
|
||||
H_UNLOCK;
|
||||
PutClient(&client);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user