Skip to contentSkip to conversation

main - lvreduce: change error message about --fs options

PATCH David Teigland 1 participant 1 message Oct 12, 2022

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=04097d9f620b5e22ae8fe2884110249116f3dab5
Commit:        04097d9f620b5e22ae8fe2884110249116f3dab5
Parent:        4f4554164b6fec7a92c21d1230b0abb6316db1b5
Author:        David Teigland <[email protected]>
AuthorDate:    Wed Oct 12 10:05:14 2022 -0500
Committer:     David Teigland <[email protected]>
CommitterDate: Wed Oct 12 10:05:14 2022 -0500

lvreduce: change error message about --fs options

---
 lib/metadata/lv_manip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/metadata/lv_manip.c +1 -1
index db97a019c..4cdbc19a0 100644
@@ -6874,7 +6874,7 @@ int lv_resize(struct cmd_context *cmd, struct logical_volume *lv,
 
 	if (is_reduce && !is_active && !strcmp(lp->fsopt, "checksize")) {
 		if (!lp->user_set_fs) {
-			log_error("The LV must be active to safely reduce, or use --fs checksize.");
+			log_error("The LV must be active to safely reduce (see --fs options.)");
 			goto out;
 		}
 		lv_top->status |= LV_TEMPORARY;