summaryrefslogtreecommitdiff
path: root/tools/pvcreate.c
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2013-07-09 02:37:56 +0100
committerAlasdair G Kergon <agk@redhat.com>2013-07-09 02:37:56 +0100
commit8adddbf101b362884d62ba066cc72b5ded016f37 (patch)
tree4befefac856d14e11af372ef9b30ad65c8f8d28c /tools/pvcreate.c
parentdd302daf646f680531bf76ab13a9dafd06f63220 (diff)
downloadlvm2-8adddbf101b362884d62ba066cc72b5ded016f37.tar.gz
pvcreate: remove metadata.h header
Files in tools/ should only use metadata-exported.h not metadata.h. Rename pvcreate_locked to pvcreate_single.
Diffstat (limited to 'tools/pvcreate.c')
-rw-r--r--tools/pvcreate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/pvcreate.c b/tools/pvcreate.c
index 38642f6fb..cbd1a5901 100644
--- a/tools/pvcreate.c
+++ b/tools/pvcreate.c
@@ -15,7 +15,6 @@
#include "tools.h"
#include "metadata-exported.h"
-#include "metadata.h"
/*
* Intial sanity checking of recovery-related command-line arguments.
@@ -113,7 +112,7 @@ int pvcreate(struct cmd_context *cmd, int argc, char **argv)
dm_unescape_colons_and_at_signs(argv[i], NULL, NULL);
- if (!pvcreate_locked(cmd, argv[i], &pp))
+ if (!pvcreate_single(cmd, argv[i], &pp))
ret = ECMD_FAILED;
}