summaryrefslogtreecommitdiffstats
path: root/tools/vgreduce.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2010-08-17 16:25:32 +0000
committerAlasdair Kergon <agk@redhat.com>2010-08-17 16:25:32 +0000
commit2d6fcbf67d131c7969bd60798b2bfe3cc2316205 (patch)
tree60361dd2d3ea9dc9eb4f264eb6c65d1872caa572 /tools/vgreduce.c
parent85ed4030024b80335f03e0a1636b4a592b443425 (diff)
downloadlvm2-2d6fcbf67d131c7969bd60798b2bfe3cc2316205.tar.gz
lvm2-2d6fcbf67d131c7969bd60798b2bfe3cc2316205.tar.xz
lvm2-2d6fcbf67d131c7969bd60798b2bfe3cc2316205.zip
Allow internal suspend and resume of origin without its snapshots.
Diffstat (limited to 'tools/vgreduce.c')
-rw-r--r--tools/vgreduce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgreduce.c b/tools/vgreduce.c
index 83994ccb..eceafcd5 100644
--- a/tools/vgreduce.c
+++ b/tools/vgreduce.c
@@ -108,7 +108,7 @@ static int _remove_lv(struct cmd_context *cmd, struct logical_volume *lv,
* the mirrored LV also should be cleaned up.
* Clean-up is currently done by caller (_make_vg_consistent()).
*/
- if ((lv_info(cmd, lv, &info, 0, 0) && info.exists) ||
+ if ((lv_info(cmd, lv, 0, &info, 0, 0) && info.exists) ||
find_mirror_seg(first_seg(lv))) {
if (!replace_lv_with_error_segment(lv))
return_0;