1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +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 19089ba331
commit 51dfb124e1

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