summaryrefslogtreecommitdiffstats
path: root/tools/vgreduce.c
diff options
context:
space:
mode:
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 44010e3d..b3b6dba4 100644
--- a/tools/vgreduce.c
+++ b/tools/vgreduce.c
@@ -424,7 +424,7 @@ static int _vgreduce_single(struct cmd_context *cmd, struct volume_group *vg,
vg->extent_count -= pv_pe_count(pv);
orphan_vg = vg_read_for_update(cmd, vg->fid->fmt->orphan_vg_name,
- NULL, LOCK_NONBLOCKING);
+ NULL, 0);
if (vg_read_error(orphan_vg))
goto bad;