mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-03 17:47:44 +03:00
Fix lvdisplay cmdline to accept snapshots.
This commit is contained in:
parent
465b6e613e
commit
699e1c75ce
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.01 -
|
Version 2.02.01 -
|
||||||
====================================
|
====================================
|
||||||
|
Fix lvdisplay cmdline to accept snapshots.
|
||||||
Fix open RO->RW promotion.
|
Fix open RO->RW promotion.
|
||||||
Fix missing vg_revert in lvcreate error path.
|
Fix missing vg_revert in lvcreate error path.
|
||||||
|
|
||||||
|
@ -18,7 +18,8 @@
|
|||||||
static int _lvdisplay_single(struct cmd_context *cmd, struct logical_volume *lv,
|
static int _lvdisplay_single(struct cmd_context *cmd, struct logical_volume *lv,
|
||||||
void *handle)
|
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;
|
return ECMD_PROCESSED;
|
||||||
|
|
||||||
if (arg_count(cmd, colon_ARG))
|
if (arg_count(cmd, colon_ARG))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user