diff options
author | Milan Broz <mbroz@redhat.com> | 2009-02-09 09:45:49 +0000 |
---|---|---|
committer | Milan Broz <mbroz@redhat.com> | 2009-02-09 09:45:49 +0000 |
commit | ea0cdd28c1cdf282b535e059a2f94510c84387d9 (patch) | |
tree | 30e0b64578f0c67ca42448794df3115233b8c981 /tools/pvresize.c | |
parent | 284f4496c3eead8a0f676f3b69aff6458b76bc06 (diff) | |
download | lvm2-ea0cdd28c1cdf282b535e059a2f94510c84387d9.tar.gz lvm2-ea0cdd28c1cdf282b535e059a2f94510c84387d9.tar.xz lvm2-ea0cdd28c1cdf282b535e059a2f94510c84387d9.zip |
Separate PV label attributes which do not need parse metadata when reporting.
When reporting explicitly label attributes (pv_uuid for example), we do not
need to read metadata.
This patch separate the label fileds and removes scan_vgs_for_pvs
in process_each_pv() if not needed.
(There should be no user visible change in output.)
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 13c37616..f0a6471b 100644 --- a/tools/pvresize.c +++ b/tools/pvresize.c @@ -226,7 +226,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, ¶ms, + ret = process_each_pv(cmd, argc, argv, NULL, LCK_VG_WRITE, 0, ¶ms, _pvresize_single); log_print("%d physical volume(s) resized / %d physical volume(s) " |