diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-04-17 14:52:51 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2007-04-17 14:52:51 +1000 |
commit | 6f9b29da22e088a77064eab3c3f4ad68e3ec1a93 (patch) | |
tree | 1616bbf0b5d0ee539193ccf4be797003deba5521 /ctdb/common/ctdb_message.c | |
parent | 29ed9cf5d3480e30ecd0ba09e645877f50889e7e (diff) | |
download | samba-6f9b29da22e088a77064eab3c3f4ad68e3ec1a93.tar.gz samba-6f9b29da22e088a77064eab3c3f4ad68e3ec1a93.tar.xz samba-6f9b29da22e088a77064eab3c3f4ad68e3ec1a93.zip |
- removed the non-daemon mode from ctdb, in order to simplify the
code. It may be added back later once everything is working nicely,
or simulated using a in-process pipe instead of a unix domain socket
- rewrote the ctdb_fetch_lock() code to follow the new design
(This used to be ctdb commit 5024dd1f305fe1ecc262db2240c56f773b4f28f0)
Diffstat (limited to 'ctdb/common/ctdb_message.c')
-rw-r--r-- | ctdb/common/ctdb_message.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ctdb/common/ctdb_message.c b/ctdb/common/ctdb_message.c index ad88ec22d26..88fe04df503 100644 --- a/ctdb/common/ctdb_message.c +++ b/ctdb/common/ctdb_message.c @@ -147,18 +147,6 @@ int ctdb_daemon_send_message(struct ctdb_context *ctdb, uint32_t vnn, return 0; } -/* - send a ctdb message -*/ -int ctdb_send_message(struct ctdb_context *ctdb, uint32_t vnn, - uint32_t srvid, TDB_DATA data) -{ - if (ctdb->flags & CTDB_FLAG_DAEMON_MODE) { - return ctdb_client_send_message(ctdb, vnn, srvid, data); - } - return ctdb_daemon_send_message(ctdb, vnn, srvid, data); -} - /* when a client goes away, we need to remove its srvid handler from the list |