mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
Reinstate lost vg_write() in lvchange --permission.
This commit is contained in:
parent
8aa577ad34
commit
6a149cba6b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user