Skip to contentSkip to conversation

2018-06-01-stable - pvresize: update message

PATCH Zdenek Kabelac 1 participant 1 message Jun 22, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=e0bfc946cb182a021bb7a74a11ec7ac51ad9a7b0
Commit:        e0bfc946cb182a021bb7a74a11ec7ac51ad9a7b0
Parent:        9546edeef90af11cd8d80fc586caf40aad3640a0
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Tue Jun 5 23:09:55 2018 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Jun 22 12:34:24 2018 +0200

pvresize: update message

There is always at least PV header update even if the size of PV remains same (so it's not really resized). Try to make it a slightly less confusing.

---
 tools/pvresize.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
tools/pvresize.c +1 -1
index 8a65952..e951f11 100644
@@ -96,7 +96,7 @@ int pvresize(struct cmd_context *cmd, int argc, char **argv)
 
 	ret = process_each_pv(cmd, argc, argv, NULL, 0, READ_FOR_UPDATE | READ_ALLOW_EXPORTED, handle, _pvresize_single);
 
-	log_print_unless_silent("%d physical volume(s) resized / %d physical volume(s) "
+	log_print_unless_silent("%d physical volume(s) resized or updated / %d physical volume(s) "
 				"not resized", params.done, params.total - params.done);
 out:
 	destroy_processing_handle(cmd, handle);