]> sourceware.org Git - lvm2.git/commitdiff
Reinstate lost vg_write() in lvchange --permission.
authorAlasdair Kergon <agk@redhat.com>
Wed, 2 Apr 2003 13:01:04 +0000 (13:01 +0000)
committerAlasdair Kergon <agk@redhat.com>
Wed, 2 Apr 2003 13:01:04 +0000 (13:01 +0000)
tools/lvchange.c

index e073fed3bbab758e20a9e220695af7b817aa2480..00010c047ad075a69e470d82dec5ecb20af5b114 100644 (file)
@@ -55,7 +55,7 @@ static int lvchange_permission(struct cmd_context *cmd,
        }
 
        log_very_verbose("Updating logical volume \"%s\" on disk(s)", lv->name);
-       if (!(lv->vg)) {
+       if (!vg_write(lv->vg)) {
                /* FIXME: Attempt reversion? */
                unlock_lv(cmd, lv->lvid.s);
                return 0;
This page took 0.034691 seconds and 5 git commands to generate.