mirror of
git://sourceware.org/git/lvm2.git
synced 2025-11-08 00:23:49 +03:00
lvreduce: change error message about --fs options
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user