summaryrefslogtreecommitdiffstats
path: root/daemons/cmirrord/cluster.c
diff options
context:
space:
mode:
authorMilan Broz <mbroz@redhat.com>2012-03-10 09:32:46 +0000
committerMilan Broz <mbroz@redhat.com>2012-03-10 09:32:46 +0000
commit7991a9636ed740a0e6c18eff0a49006f0af2a2b3 (patch)
tree90e5c910ebe26d4f90cfa6954e0b17bd3e5fade1 /daemons/cmirrord/cluster.c
parent32b7eb9b6b34d5f124ecbe50611be0fe1d094b41 (diff)
downloadlvm2-7991a9636ed740a0e6c18eff0a49006f0af2a2b3.tar.gz
lvm2-7991a9636ed740a0e6c18eff0a49006f0af2a2b3.tar.xz
lvm2-7991a9636ed740a0e6c18eff0a49006f0af2a2b3.zip
Remove some whitespaces.
(test commit)
Diffstat (limited to 'daemons/cmirrord/cluster.c')
-rw-r--r--daemons/cmirrord/cluster.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/daemons/cmirrord/cluster.c b/daemons/cmirrord/cluster.c
index f7b43b55..0a782401 100644
--- a/daemons/cmirrord/cluster.c
+++ b/daemons/cmirrord/cluster.c
@@ -89,7 +89,7 @@ struct checkpoint_data {
char *clean_bits;
char *recovering_region;
struct checkpoint_data *next;
-};
+};
#define INVALID 0
#define VALID 1
@@ -911,9 +911,9 @@ static int resend_requests(struct clog_cpg *entry)
rq->u_rq.data_size = 0;
kernel_send(&rq->u_rq);
-
+
break;
-
+
default:
/*
* If an action or a response is required, then
@@ -1355,7 +1355,7 @@ static void cpg_leave_callback(struct clog_cpg *match,
match->free_me = 1;
match->lowest_id = 0xDEAD;
match->state = INVALID;
- }
+ }
/* Remove any pending checkpoints for the leaving node. */
for (p_cp = NULL, c_cp = match->checkpoint_list;
@@ -1411,7 +1411,7 @@ static void cpg_leave_callback(struct clog_cpg *match,
left->nodeid);
return;
}
-
+
match->lowest_id = member_list[0].nodeid;
for (i = 0; i < member_list_entries; i++)
if (match->lowest_id > member_list[i].nodeid)
@@ -1530,7 +1530,7 @@ unlink_retry:
usleep(1000);
goto unlink_retry;
}
-
+
if (rv != SA_AIS_OK) {
LOG_ERROR("[%s] Failed to unlink checkpoint: %s",
SHORT_UUID(entry->name.value), str_ais_error(rv));
@@ -1633,7 +1633,7 @@ static int _destroy_cluster_cpg(struct clog_cpg *del)
{
int r;
int state;
-
+
LOG_COND(log_resend_requests, "[%s] I am leaving.2.....",
SHORT_UUID(del->name.value));