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:
ff2e553
)
windows-aclent-20050126
author
Jeffrey Altman
<jaltman@mit.edu>
Thu, 27 Jan 2005 00:00:10 +0000 (
00:00
+0000)
committer
Jeffrey Altman
<jaltman@secure-endpoints.com>
Thu, 27 Jan 2005 00:00:10 +0000 (
00:00
+0000)
Undo the FreeACLEnt lock as it is an automatic deadlock
src/WINNT/afsd/cm_aclent.c
patch
|
blob
|
history
diff --git
a/src/WINNT/afsd/cm_aclent.c
b/src/WINNT/afsd/cm_aclent.c
index
5898045
..
89902dc
100644
(file)
--- a/
src/WINNT/afsd/cm_aclent.c
+++ b/
src/WINNT/afsd/cm_aclent.c
@@
-84,7
+84,6
@@
static cm_aclent_t *GetFreeACLEnt(void)
if (cm_aclLRUp == NULL)
osi_panic("empty aclent LRU", __FILE__, __LINE__);
- lock_ObtainWrite(&cm_aclLock);
aclp = cm_aclLRUEndp;
if (aclp == cm_aclLRUEndp)
cm_aclLRUEndp = (cm_aclent_t *) osi_QPrev(&aclp->q);
@@
-109,7
+108,6
@@
static cm_aclent_t *GetFreeACLEnt(void)
cm_ReleaseUser(aclp->userp);
aclp->userp = NULL;
}
- lock_ReleaseWrite(&cm_aclLock);
return aclp;
}