mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-10 05:18:36 +03:00
lp.pool may be (null) too
This commit is contained in:
parent
8416129244
commit
49fd0fef6b
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user