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:
5d84c50
)
giveupallcallbacks-locking-20071121
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Wed, 21 Nov 2007 19:30:51 +0000 (19:30 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Wed, 21 Nov 2007 19:30:51 +0000 (19:30 +0000)
FIXES 74708
Hold H_LOCK across calls into GiveUpAllCallbacks_r
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 {