1
0
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:
Zdenek Kabelac 2013-05-29 21:23:18 +02:00
parent 3ced1bf694
commit b08c346489

View File

@ -868,6 +868,10 @@ static int _lvresize(struct cmd_context *cmd, struct volume_group *vg,
return ECMD_FAILED;
}
if (lv_is_cow_covering_origin(lv))
if (!monitor_dev_for_events(cmd, lv, 0, 0))
stack;
backup(vg);
/*