git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
linux-free-dont-drop-alloc-sem-20040714
[openafs.git]
/
src
/
afs
/
LINUX
/
osi_alloc.c
diff --git
a/src/afs/LINUX/osi_alloc.c
b/src/afs/LINUX/osi_alloc.c
index
8a8bc7a
..
e80af0b
100644
(file)
--- a/
src/afs/LINUX/osi_alloc.c
+++ b/
src/afs/LINUX/osi_alloc.c
@@
-335,9
+335,7
@@
osi_linux_alloc(unsigned int asize, int drop_glock)
free_error:
if (new) {
- up(&afs_linux_alloc_sem);
linux_free(new);
- down(&afs_linux_alloc_sem);
}
new = NULL;
goto error;