1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lp.pool may be (null) too

This commit is contained in:
Alasdair Kergon 2012-02-01 01:54:20 +00:00
parent b6d7a48480
commit f2e3d659ea

View File

@ -1017,7 +1017,8 @@ int lvcreate(struct cmd_context *cmd, int argc, char **argv)
if (lp.thin)
log_verbose("Making thin LV %s in pool %s in VG %s%s%s using segtype %s",
lp.lv_name ? : "with generated name",
lp.pool, lp.vg_name, lp.snapshot ? " as snapshot of " : "",
lp.pool ? : "with generated name", lp.vg_name,
lp.snapshot ? " as snapshot of " : "",
lp.snapshot ? lp.origin : "", lp.segtype->name);
if (!lv_create_single(vg, &lp)) {