1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
This commit is contained in:
Alasdair Kergon 2006-10-16 16:47:56 +00:00
parent 0b0fd3306d
commit 266f30e5e1

View File

@ -637,11 +637,11 @@ static int _lvcreate(struct cmd_context *cmd, struct lvcreate_params *lp)
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 &&