mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
workaround proposal for the initialization-problem
(This used to be ctdb commit 2ee400d99fb57796a0e7c3256387ef77f6908f33)
This commit is contained in:
parent
c82dd38544
commit
847343e00e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user