summaryrefslogtreecommitdiff
path: root/tools/lvdisplay.c
diff options
context:
space:
mode:
authorMilan Broz <mbroz@redhat.com>2009-05-13 21:27:43 +0000
committerMilan Broz <mbroz@redhat.com>2009-05-13 21:27:43 +0000
commitafd9ba98c17a5ee81dbef10f24ee21d0a8984b02 (patch)
tree2ad3d71bf3527373c8f9076b492858e63ca0c40e /tools/lvdisplay.c
parent59d8429cb30a9e6c46d9d66581f8993d83eb1580 (diff)
downloadlvm2-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.c2
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))