diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2011-02-03 01:24:46 +0000 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2011-02-03 01:24:46 +0000 |
commit | 401a40d9412fd7d3e0e8553044009895b8e59482 (patch) | |
tree | 70ed364482aa0639d892e19c23ca83d0b0b9af21 /tools/lvconvert.c | |
parent | 56cab8cc037fc4d31085705987b3a4c04d5e5938 (diff) | |
download | lvm2-401a40d9412fd7d3e0e8553044009895b8e59482.tar.gz lvm2-401a40d9412fd7d3e0e8553044009895b8e59482.tar.xz lvm2-401a40d9412fd7d3e0e8553044009895b8e59482.zip |
Do not check for open_count when not needed.
Disable open_count checking in lv_info it it's not used.
Fix previous commit (comment out unsable code for now).
Diffstat (limited to 'tools/lvconvert.c')
-rw-r--r-- | tools/lvconvert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lvconvert.c b/tools/lvconvert.c index 04c9f41a..b35bc81f 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -1637,7 +1637,7 @@ static int poll_logical_volume(struct cmd_context *cmd, struct logical_volume *l { struct lvinfo info; - if (!lv_info(cmd, lv, 0, &info, 1, 0) || !info.exists) { + if (!lv_info(cmd, lv, 0, &info, 0, 0) || !info.exists) { log_print("Conversion starts after activation."); return ECMD_PROCESSED; } |