git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
615801f
)
We can not be holding a chainlock at this stage, so the tdb_chainunlock() call is...
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Wed, 9 Jun 2010 05:12:26 +0000
(15:12 +1000)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Wed, 9 Jun 2010 05:12:26 +0000
(15:12 +1000)
( a child process might be holding the lock, but not the main daemon)
server/ctdb_ltdb_server.c
patch
|
blob
|
history
diff --git
a/server/ctdb_ltdb_server.c
b/server/ctdb_ltdb_server.c
index 1ce728349beb8eaf68a45a774c1ca15498623d8a..03c62ac50abbcb0dd74fa3a9e82ccc393903b3d1 100644
(file)
--- a/
server/ctdb_ltdb_server.c
+++ b/
server/ctdb_ltdb_server.c
@@
-141,7
+141,6
@@
int ctdb_ltdb_lock_requeue(struct ctdb_db_context *ctdb_db,
/* now the contended path */
h = ctdb_lockwait(ctdb_db, key, lock_fetch_callback, state);
if (h == NULL) {
- tdb_chainunlock(tdb, key);
return -1;
}