mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvresize: drop monitoring of 100% covered origin
This commit is contained in:
parent
3ced1bf694
commit
b08c346489
@ -868,6 +868,10 @@ static int _lvresize(struct cmd_context *cmd, struct volume_group *vg,
|
|||||||
return ECMD_FAILED;
|
return ECMD_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (lv_is_cow_covering_origin(lv))
|
||||||
|
if (!monitor_dev_for_events(cmd, lv, 0, 0))
|
||||||
|
stack;
|
||||||
|
|
||||||
backup(vg);
|
backup(vg);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user