mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
lp.pool may be (null) too
This commit is contained in:
parent
b6d7a48480
commit
f2e3d659ea
@ -1017,7 +1017,8 @@ int lvcreate(struct cmd_context *cmd, int argc, char **argv)
|
|||||||
if (lp.thin)
|
if (lp.thin)
|
||||||
log_verbose("Making thin LV %s in pool %s in VG %s%s%s using segtype %s",
|
log_verbose("Making thin LV %s in pool %s in VG %s%s%s using segtype %s",
|
||||||
lp.lv_name ? : "with generated name",
|
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);
|
lp.snapshot ? lp.origin : "", lp.segtype->name);
|
||||||
|
|
||||||
if (!lv_create_single(vg, &lp)) {
|
if (!lv_create_single(vg, &lp)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user