diff options
author | Alasdair Kergon <agk@redhat.com> | 2007-11-12 20:51:54 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2007-11-12 20:51:54 +0000 |
commit | a6b22cf31779114474d275b4c036c97ce3203634 (patch) | |
tree | a58b3c8fa5c52d06575c39a93127985c368b5252 /tools/vgreduce.c | |
parent | 6dd60469ba342ce26c1772e8db4c0d8618da9f15 (diff) | |
download | lvm2-a6b22cf31779114474d275b4c036c97ce3203634.tar.gz lvm2-a6b22cf31779114474d275b4c036c97ce3203634.tar.xz lvm2-a6b22cf31779114474d275b4c036c97ce3203634.zip |
readahead activation code (but no dm support yet)
Diffstat (limited to 'tools/vgreduce.c')
-rw-r--r-- | tools/vgreduce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgreduce.c b/tools/vgreduce.c index 4bf60c43..134a5e28 100644 --- a/tools/vgreduce.c +++ b/tools/vgreduce.c @@ -116,7 +116,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) && info.exists) + if ((lv_info(cmd, lv, &info, 0, 0) && info.exists) || first_seg(lv)->mirror_seg) { extents = lv->le_count; mirror_seg = first_seg(lv)->mirror_seg; |