git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
0fd7ec0
)
DEVEL15-giveupallcallbacks-locking-20071121
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Wed, 21 Nov 2007 19:34:36 +0000 (19:34 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Wed, 21 Nov 2007 19:34:36 +0000 (19:34 +0000)
FIXES 74708
Hold H_LOCK across calls into GiveUpAllCallbacks_r
(cherry picked from commit
b0b3565b69b0b8fda46b25e7bd73c5116b32d83e
)
src/viced/afsfileprocs.c
patch
|
blob
|
history
diff --git
a/src/viced/afsfileprocs.c
b/src/viced/afsfileprocs.c
index
fa26512
..
e8bed09
100644
(file)
--- a/
src/viced/afsfileprocs.c
+++ b/
src/viced/afsfileprocs.c
@@
-5981,7
+5981,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 {