diff options
author | Alasdair Kergon <agk@redhat.com> | 2005-11-23 16:16:39 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2005-11-23 16:16:39 +0000 |
commit | f3ce273f23d5eeae8f7f8cb2240327774d86bc13 (patch) | |
tree | ac4c6de6adb6d9d63fa15cfe5c1fe6035d959c97 /tools/lvdisplay.c | |
parent | 349216a6b507e2ed99a4d6a2e759e7a0746ccf66 (diff) | |
download | lvm2-f3ce273f23d5eeae8f7f8cb2240327774d86bc13.tar.gz |
Fix lvdisplay cmdline to accept snapshots.
Diffstat (limited to 'tools/lvdisplay.c')
-rw-r--r-- | tools/lvdisplay.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/lvdisplay.c b/tools/lvdisplay.c index 2b8c8a11a..0dd2a1408 100644 --- a/tools/lvdisplay.c +++ b/tools/lvdisplay.c @@ -18,7 +18,8 @@ static int _lvdisplay_single(struct cmd_context *cmd, struct logical_volume *lv, void *handle) { - if (!arg_count(cmd, all_ARG) && !(lv->status & VISIBLE_LV)) + if (!arg_count(cmd, all_ARG) && !(lv->status & VISIBLE_LV) && + !(lv_is_cow(lv))) return ECMD_PROCESSED; if (arg_count(cmd, colon_ARG)) |