From d6d46615179aba34e1f77a426e65d5e5d28ccdb4 Mon Sep 17 00:00:00 2001 From: Jonathan Earl Brassow Date: Tue, 15 Jan 2008 22:48:11 +0000 Subject: [PATCH] - The automatic log module loading patch proposed for the upstream kernel works on '-'s, not '_'s. This is due to the preference to have log module file names that do not mix '_'s and '-'s. --- WHATS_NEW_DM | 1 + libdm/libdm-deptree.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index 133d63514..351fe6854 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,6 @@ Version 1.02.25 - ==================================== + Change cluster mirror log type name (s/clustered_/clustered-/) Version 1.02.24 - 20th December 2007 ==================================== diff --git a/libdm/libdm-deptree.c b/libdm/libdm-deptree.c index 927f331d7..fa85ab62a 100644 --- a/libdm/libdm-deptree.c +++ b/libdm/libdm-deptree.c @@ -1289,7 +1289,7 @@ static int _emit_segment_line(struct dm_task *dmt, struct load_segment *seg, uin if (seg->clustered) { if (seg->uuid) log_parm_count++; - if ((tw = _dm_snprintf(params + pos, paramsize - pos, "clustered_")) < 0) { + if ((tw = _dm_snprintf(params + pos, paramsize - pos, "clustered-")) < 0) { stack; /* Out of space */ return -1; }