summaryrefslogtreecommitdiff
path: root/tools/lvscan.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2016-05-23 13:42:17 -0500
committerDavid Teigland <teigland@redhat.com>2016-05-25 15:05:49 -0500
commit2f2b3c9100443593d94ed4ed2ed014b56537c0e0 (patch)
tree8e31571d604e9f31cae507d0f3bb898fddf6a5b9 /tools/lvscan.c
parent7fffcce9247cba8ecb40a1c7b0c6d18a5cde2165 (diff)
downloadlvm2-2f2b3c9100443593d94ed4ed2ed014b56537c0e0.tar.gz
lvconvert: use process_each_lv
In the same way that process_each_vg() can be passed a single VG name to process, also allow process_each_lv() to be passed a single VG name and LV name to process.
Diffstat (limited to 'tools/lvscan.c')
-rw-r--r--tools/lvscan.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/lvscan.c b/tools/lvscan.c
index 23d3d7f63..528e54ae3 100644
--- a/tools/lvscan.c
+++ b/tools/lvscan.c
@@ -119,6 +119,5 @@ int lvscan(struct cmd_context *cmd, int argc, char **argv)
*/
}
- return process_each_lv(cmd, argc, argv, 0, NULL,
- &lvscan_single);
+ return process_each_lv(cmd, argc, argv, NULL, NULL, 0, NULL, &lvscan_single);
}