diff options
author | Alasdair Kergon <agk@redhat.com> | 2011-06-01 19:29:31 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2011-06-01 19:29:31 +0000 |
commit | 3cac20f850d76f373e9bcf672bf8c3f5d9283c78 (patch) | |
tree | 8d8e7120eb1c6b2ee8ab445c287348eb841af4a9 /tools/pvcreate.c | |
parent | 2aa785c85f65cd468d2d66bee9c22354c2eefd7d (diff) | |
download | lvm2-3cac20f850d76f373e9bcf672bf8c3f5d9283c78.tar.gz |
Defer writing PV labels to vg_write.
Store label_sector only in struct physical_volume.
Diffstat (limited to 'tools/pvcreate.c')
-rw-r--r-- | tools/pvcreate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pvcreate.c b/tools/pvcreate.c index 90fd2b4c4..0108d775e 100644 --- a/tools/pvcreate.c +++ b/tools/pvcreate.c @@ -112,7 +112,7 @@ int pvcreate(struct cmd_context *cmd, int argc, char **argv) unescape_colons_and_at_signs(argv[i], NULL, NULL); - if (!(pv = pvcreate_single(cmd, argv[i], &pp))) { + if (!(pv = pvcreate_single(cmd, argv[i], &pp, 1))) { stack; ret = ECMD_FAILED; } |