]> sourceware.org Git - lvm2.git/commitdiff
Use macro in vgremove locking fix.
authorAlasdair Kergon <agk@redhat.com>
Mon, 27 Sep 2004 10:32:36 +0000 (10:32 +0000)
committerAlasdair Kergon <agk@redhat.com>
Mon, 27 Sep 2004 10:32:36 +0000 (10:32 +0000)
tools/vgremove.c

index 1dade9715447ab6425b2bcade39f7f2dc58299ce..1c5553de42e582492560ccb52f69b52d393beee1 100644 (file)
@@ -88,7 +88,7 @@ int vgremove(struct cmd_context *cmd, int argc, char **argv)
        }
 
        ret = process_each_vg(cmd, argc, argv,
-                             LCK_VG | LCK_WRITE | LCK_NONBLOCK | LCK_HOLD, 1, 
+                             LCK_VG_WRITE | LCK_NONBLOCK, 1, 
                              NULL, &vgremove_single);
 
        unlock_vg(cmd, "");
This page took 0.064396 seconds and 5 git commands to generate.