summaryrefslogtreecommitdiff
path: root/lib/format1
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2012-02-29 02:35:35 +0000
committerAlasdair Kergon <agk@redhat.com>2012-02-29 02:35:35 +0000
commit5b613cff974fce84890759e1f1d6cc809e84c398 (patch)
tree37d9f430aaa559ad149e5f071be7400656b46f4e /lib/format1
parent996fe0a8365f82225dcce9b9d705bddd34720fd1 (diff)
downloadlvm2-5b613cff974fce84890759e1f1d6cc809e84c398.tar.gz
Pass 'single_device' parameter down to suppress 'Can't find uuid' messages
when reading VG text metadate and called from pvscan --lvmetad. (Longer-term, that check needs moving outside of that code.)
Diffstat (limited to 'lib/format1')
-rw-r--r--lib/format1/format1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/format1/format1.c b/lib/format1/format1.c
index f57e36398..50626b5fa 100644
--- a/lib/format1/format1.c
+++ b/lib/format1/format1.c
@@ -179,7 +179,8 @@ out:
static struct volume_group *_format1_vg_read(struct format_instance *fid,
const char *vg_name,
- struct metadata_area *mda __attribute__((unused)))
+ struct metadata_area *mda __attribute__((unused)),
+ int single_device __attribute__((unused)))
{
struct volume_group *vg;
struct disk_list *dl;