mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-23 21:35:29 +03:00
Take just a read lock when activating in lvchange.
This commit is contained in:
parent
fa059a59a8
commit
a9d820ed2f
@ -732,6 +732,7 @@ int lvchange(struct cmd_context *cmd, int argc, char **argv)
|
||||
return EINVALID_CMD_LINE;
|
||||
}
|
||||
|
||||
return process_each_lv(cmd, argc, argv, READ_FOR_UPDATE, NULL,
|
||||
return process_each_lv(cmd, argc, argv,
|
||||
avail_only ? 0 : READ_FOR_UPDATE, NULL,
|
||||
&lvchange_single);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user