git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd85e53
)
dont return error if update nodeflags failed. this can happen when we talk
author
root
<root@test1n1.VSOFS1.COM>
Thu, 5 Feb 2009 01:18:17 +0000
(12:18 +1100)
committer
root
<root@test1n1.VSOFS1.COM>
Thu, 5 Feb 2009 01:18:17 +0000
(12:18 +1100)
to older ctdb versions
client/ctdb_client.c
patch
|
blob
|
history
diff --git
a/client/ctdb_client.c
b/client/ctdb_client.c
index 16fc03b48ab2a6878cd8104c6ae9aa90d0071e8a..f6ddbe651acd46789854e81cab3c162023cc3df1 100644
(file)
--- a/
client/ctdb_client.c
+++ b/
client/ctdb_client.c
@@
-2399,10
+2399,10
@@
int ctdb_ctrl_modflags(struct ctdb_context *ctdb, struct timeval timeout, uint32
timeout, false, data,
NULL, NULL,
NULL) != 0) {
- DEBUG(DEBUG_ERR, (__location__ " ctdb_control to
disable node
failed\n"));
+ DEBUG(DEBUG_ERR, (__location__ " ctdb_control to
update nodeflags
failed\n"));
talloc_free(tmp_ctx);
- return
-1
;
+ return
0
;
}
talloc_free(tmp_ctx);