summaryrefslogtreecommitdiffstats
path: root/tools/vgreduce.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2007-11-15 21:30:52 +0000
committerAlasdair Kergon <agk@redhat.com>2007-11-15 21:30:52 +0000
commit57d921e953bc4aa0f052e5e53b46dfa3e4651c3b (patch)
tree70dc5923a4767c6888f475e205a8511e6beb6e15 /tools/vgreduce.c
parent37034fb826f20a08c05972ea9e4d50be079e5c1f (diff)
downloadlvm2-57d921e953bc4aa0f052e5e53b46dfa3e4651c3b.tar.gz
lvm2-57d921e953bc4aa0f052e5e53b46dfa3e4651c3b.tar.xz
lvm2-57d921e953bc4aa0f052e5e53b46dfa3e4651c3b.zip
more vg_read lock fixes
Diffstat (limited to 'tools/vgreduce.c')
-rw-r--r--tools/vgreduce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgreduce.c b/tools/vgreduce.c
index 6352119f..209e1d36 100644
--- a/tools/vgreduce.c
+++ b/tools/vgreduce.c
@@ -539,7 +539,7 @@ int vgreduce(struct cmd_context *cmd, int argc, char **argv)
/* FIXME: Pass private struct through to all these functions */
/* and update in batch here? */
- ret = process_each_pv(cmd, argc, argv, vg, LCK_VG_WRITE, NULL,
+ ret = process_each_pv(cmd, argc, argv, vg, LCK_NONE, NULL,
_vgreduce_single);
}