git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b98e4c
)
recoverd: eliminate some trailing spaces from ctdb_election_win()
author
Michael Adam
<obnox@samba.org>
Fri, 21 Jun 2013 12:06:22 +0000
(14:06 +0200)
committer
Amitay Isaacs
<amitay@gmail.com>
Tue, 2 Jul 2013 07:47:05 +0000
(17:47 +1000)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit
df30c0a05ed908fc2a997c56ff5484736b23b70f
)
server/ctdb_recoverd.c
patch
|
blob
|
history
diff --git
a/server/ctdb_recoverd.c
b/server/ctdb_recoverd.c
index 678ff7e48e7fa02224ac0ce0f91175010ec243e0..f2a4638dd8bf1a860bd7901354ea5336a8ab878c 100644
(file)
--- a/
server/ctdb_recoverd.c
+++ b/
server/ctdb_recoverd.c
@@
-1921,12
+1921,12
@@
static bool ctdb_election_win(struct ctdb_recoverd *rec, struct election_message
/* we cant win if we are banned */
if (rec->node_flags & NODE_FLAGS_BANNED) {
return false;
- }
+ }
/* we cant win if we are stopped */
if (rec->node_flags & NODE_FLAGS_STOPPED) {
return false;
- }
+ }
/* we will automatically win if the other node is banned */
if (em->node_flags & NODE_FLAGS_BANNED) {