diff options
author | Petr Rockai <prockai@redhat.com> | 2009-07-15 05:50:22 +0000 |
---|---|---|
committer | Petr Rockai <prockai@redhat.com> | 2009-07-15 05:50:22 +0000 |
commit | 21a98eda88fb5ce73fe8feb3a832533dd5e468ba (patch) | |
tree | fbdb644c0d378dd8f002f5899cf6ea15b2322626 /tools/pvresize.c | |
parent | 6ee7d2aa53b19b37d87954823a4a215d49ec2370 (diff) | |
download | lvm2-21a98eda88fb5ce73fe8feb3a832533dd5e468ba.tar.gz |
Port process_each_pv to new vg_read.
Diffstat (limited to 'tools/pvresize.c')
-rw-r--r-- | tools/pvresize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pvresize.c b/tools/pvresize.c index 964d6a548..eafbd56d8 100644 --- a/tools/pvresize.c +++ b/tools/pvresize.c @@ -205,7 +205,7 @@ int pvresize(struct cmd_context *cmd, int argc, char **argv) params.done = 0; params.total = 0; - ret = process_each_pv(cmd, argc, argv, NULL, LCK_VG_WRITE, 0, ¶ms, + ret = process_each_pv(cmd, argc, argv, NULL, READ_FOR_UPDATE, 0, ¶ms, _pvresize_single); log_print("%d physical volume(s) resized / %d physical volume(s) " |