From 5f3a3e312c095fb38361cff3032494dbed3b82e5 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Wed, 16 Jan 2008 15:26:40 +0000 Subject: [PATCH] revert temp change --- tools/lvcreate.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/lvcreate.c b/tools/lvcreate.c index 5e9b7b423..a01466c27 100644 --- a/tools/lvcreate.c +++ b/tools/lvcreate.c @@ -705,11 +705,11 @@ static int _lvcreate(struct cmd_context *cmd, struct volume_group *vg, return 0; } -// if (lp->mirrors > 1 && !activation()) { - //log_error("Can't create mirror without using " - //"device-mapper kernel driver."); - //return 0; - //} + if (lp->mirrors > 1 && !activation()) { + log_error("Can't create mirror without using " + "device-mapper kernel driver."); + return 0; + } /* The snapshot segment gets created later */ if (lp->snapshot &&