git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c82dd38
)
workaround proposal for the initialization-problem
author
Peter Somogyi
<psomogyi@gamax.hu>
Fri, 16 Feb 2007 14:21:31 +0000
(15:21 +0100)
committer
Peter Somogyi
<psomogyi@gamax.hu>
Fri, 16 Feb 2007 14:21:31 +0000
(15:21 +0100)
(This used to be ctdb commit
2ee400d99fb57796a0e7c3256387ef77f6908f33
)
ctdb/common/ctdb_message.c
patch
|
blob
|
history
diff --git
a/ctdb/common/ctdb_message.c
b/ctdb/common/ctdb_message.c
index 6e79042b85559cb7aee85f2367071e7b039b751e..c8830b2cac5f8febdd1e273220655b5aee713f99 100644
(file)
--- a/
ctdb/common/ctdb_message.c
+++ b/
ctdb/common/ctdb_message.c
@@
-60,6
+60,8
@@
int ctdb_send_message(struct ctdb_context *ctdb, uint32_t vnn,
struct ctdb_req_message *r;
int len;
+ ctdb_connect_wait(ctdb); /* recursion */
+
len = offsetof(struct ctdb_req_message, data) + data.dsize;
r = ctdb->methods->allocate_pkt(ctdb, len);
CTDB_NO_MEMORY(ctdb, r);