git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca35d81
)
ctdb-pmda: CTDB client code does not require ctdb->methods
author
Amitay Isaacs
<amitay@gmail.com>
Mon, 27 Jun 2016 08:37:27 +0000
(18:37 +1000)
committer
Martin Schwenke
<martins@samba.org>
Tue, 5 Jul 2016 08:53:15 +0000
(10:53 +0200)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/utils/pmda/pmda_ctdb.c
patch
|
blob
|
history
diff --git
a/ctdb/utils/pmda/pmda_ctdb.c
b/ctdb/utils/pmda/pmda_ctdb.c
index 7055d1646b0e8cabeb15fb715f4070e2b9e79778..f644c6579d603ba78d8c2e0f1794fcbe0967f837 100644
(file)
--- a/
ctdb/utils/pmda/pmda_ctdb.c
+++ b/
ctdb/utils/pmda/pmda_ctdb.c
@@
-274,10
+274,6
@@
err_ev:
static void
pmda_ctdb_daemon_disconnect(void)
{
- if (ctdb->methods) {
- ctdb->methods->shutdown(ctdb);
- }
-
if (ctdb->daemon.sd != -1) {
close(ctdb->daemon.sd);
}