diff options
author | Milan Broz <mbroz@redhat.com> | 2009-05-13 21:27:43 +0000 |
---|---|---|
committer | Milan Broz <mbroz@redhat.com> | 2009-05-13 21:27:43 +0000 |
commit | afd9ba98c17a5ee81dbef10f24ee21d0a8984b02 (patch) | |
tree | 2ad3d71bf3527373c8f9076b492858e63ca0c40e /tools/lvdisplay.c | |
parent | 59d8429cb30a9e6c46d9d66581f8993d83eb1580 (diff) | |
download | lvm2-afd9ba98c17a5ee81dbef10f24ee21d0a8984b02.tar.gz |
Merge lv_is_displayable and lv_is_visible.
Displayable and visible is the same thing.
volumes_count(vg) is now vg_visible_lvs() and always
returns number of LVs from user perspective.
Diffstat (limited to 'tools/lvdisplay.c')
-rw-r--r-- | tools/lvdisplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lvdisplay.c b/tools/lvdisplay.c index 5263e0d12..16e7052f2 100644 --- a/tools/lvdisplay.c +++ b/tools/lvdisplay.c @@ -18,7 +18,7 @@ static int _lvdisplay_single(struct cmd_context *cmd, struct logical_volume *lv, void *handle) { - if (!arg_count(cmd, all_ARG) && !lv_is_displayable(lv)) + if (!arg_count(cmd, all_ARG) && !lv_is_visible(lv)) return ECMD_PROCESSED; if (arg_count(cmd, colon_ARG)) |