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:
1721dd2
)
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
Michael Adam
<obnox@samba.org>
Mon, 26 Aug 2013 11:35:55 +0000
(13:35 +0200)
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 2b16829540c554225cf5eb39ecf0332f6576c768..860f260b2dd6468596d04ed5712d0c88c358b08e 100644
(file)
--- a/
server/ctdb_recoverd.c
+++ b/
server/ctdb_recoverd.c
@@
-1739,12
+1739,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) {