From b47952641ae481341886969e9986427ea707cea7 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Thu, 4 Dec 2008 15:54:26 +0000 Subject: Added displayable_lvs_in_vg and lv_is_displayable functions to deal with the counts of visible LVs from user's perspective consistently throughout the code. --- tools/lvdisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/lvdisplay.c') diff --git a/tools/lvdisplay.c b/tools/lvdisplay.c index 16e7052f..5263e0d1 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_visible(lv)) + if (!arg_count(cmd, all_ARG) && !lv_is_displayable(lv)) return ECMD_PROCESSED; if (arg_count(cmd, colon_ARG)) -- cgit