1
0
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:
Petr Rockai 2009-07-15 05:48:36 +00:00
parent fa059a59a8
commit a9d820ed2f

View File

@ -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);
}