git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
873b20c
)
avoid potential deadlock
author
Michal Voců
<michal@ruk.cuni.cz>
Wed, 29 Oct 2008 13:02:17 +0000
(13:02 +0000)
committer
Michal Voců
<michal@ruk.cuni.cz>
Wed, 29 Oct 2008 13:02:17 +0000
(13:02 +0000)
org.glite.lb.logger/src/event_store.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.logger/src/event_store.c
b/org.glite.lb.logger/src/event_store.c
index
4a93172
..
1b6c657
100644
(file)
--- a/
org.glite.lb.logger/src/event_store.c
+++ b/
org.glite.lb.logger/src/event_store.c
@@
-530,10
+530,8
@@
event_store_recover(struct event_store *es)
/* last holds the starting position of event_s in file */
il_log(LOG_DEBUG, " reading event at %ld\n", last);
- event_store_lock_ro(es);
last_ls = es->last_committed_ls;
last_bs = es->last_committed_bs;
- event_store_unlock(es);
/* break from now on means there was some error */
ret = -1;