summaryrefslogtreecommitdiffstats
path: root/daemons/clvmd/clvmd-singlenode.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2010-08-17 19:25:05 +0000
committerAlasdair Kergon <agk@redhat.com>2010-08-17 19:25:05 +0000
commit22149572e8a05492316bf74dee681a3a948bd2b1 (patch)
tree72aadf89125169394805e364d59bba0c2a52195e /daemons/clvmd/clvmd-singlenode.c
parent2d6fcbf67d131c7969bd60798b2bfe3cc2316205 (diff)
downloadlvm2-22149572e8a05492316bf74dee681a3a948bd2b1.tar.gz
lvm2-22149572e8a05492316bf74dee681a3a948bd2b1.tar.xz
lvm2-22149572e8a05492316bf74dee681a3a948bd2b1.zip
Use 'SINGLENODE' instead of 'dead' in clvmd singlenode messages.
Ignore snapshots when performing mirror recovery beneath an origin. Pass LCK_ORIGIN_ONLY flag around cluster. Add suspend_lv_origin and resume_lv_origin using LCK_ORIGIN_ONLY.
Diffstat (limited to 'daemons/clvmd/clvmd-singlenode.c')
-rw-r--r--daemons/clvmd/clvmd-singlenode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/clvmd/clvmd-singlenode.c b/daemons/clvmd/clvmd-singlenode.c
index 719e1dc7..0cd4c9cc 100644
--- a/daemons/clvmd/clvmd-singlenode.c
+++ b/daemons/clvmd/clvmd-singlenode.c
@@ -108,7 +108,7 @@ static int _csid_from_name(char *csid, const char *name)
static int _name_from_csid(const char *csid, char *name)
{
- sprintf(name, "%x", 0xdead);
+ sprintf(name, "SINGLENODE");
return 0;
}