summaryrefslogtreecommitdiffstats
path: root/tools/pvcreate.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2009-09-14 22:47:49 +0000
committerAlasdair Kergon <agk@redhat.com>2009-09-14 22:47:49 +0000
commit651ff9b32865373f9f6298fbe7b0ea5419da3746 (patch)
tree898c9215fdb07ca76b616f29cbcd45d3cbd74d21 /tools/pvcreate.c
parent905240f91da66571da073df8784f1f42b2888328 (diff)
downloadlvm2-651ff9b32865373f9f6298fbe7b0ea5419da3746.tar.gz
lvm2-651ff9b32865373f9f6298fbe7b0ea5419da3746.tar.xz
lvm2-651ff9b32865373f9f6298fbe7b0ea5419da3746.zip
Add lots of missing stack debug messages to tools.
Make readonly locking available as locking type 4. Fix readonly locking to permit writeable global locks (for vgscan). (2.02.49)
Diffstat (limited to 'tools/pvcreate.c')
-rw-r--r--tools/pvcreate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/pvcreate.c b/tools/pvcreate.c
index a22190d7..99496319 100644
--- a/tools/pvcreate.c
+++ b/tools/pvcreate.c
@@ -195,8 +195,10 @@ int pvcreate(struct cmd_context *cmd, int argc, char **argv)
return ECMD_FAILED;
}
- if (!pvcreate_single(cmd, argv[i], &pp))
+ if (!pvcreate_single(cmd, argv[i], &pp)) {
+ stack;
ret = ECMD_FAILED;
+ }
unlock_vg(cmd, VG_ORPHANS);
if (sigint_caught())