diff --git a/WHATS_NEW b/WHATS_NEW index c1db1610d..4c3631c9f 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.89 - ================================== + Remove incorrect requirement for -j or -m from lvchange error message. Fix unsafe table load when splitting off smaller mirror from a larger one. Use size_t return type for text_vg_export_raw() and export_vg_to_buffer(). Add configure --enable-lvmetad for building the (experimental) LVMetaD. diff --git a/tools/lvchange.c b/tools/lvchange.c index 7979ffa63..1a5cce6b4 100644 --- a/tools/lvchange.c +++ b/tools/lvchange.c @@ -715,10 +715,8 @@ int lvchange(struct cmd_context *cmd, int argc, char **argv) if (!update && !arg_count(cmd, available_ARG) && !arg_count(cmd, refresh_ARG) && - !arg_count(cmd, monitor_ARG) && !arg_count(cmd, poll_ARG) && - /* for persistent_ARG */ - !arg_count(cmd, minor_ARG) && !arg_count(cmd, major_ARG)) { - log_error("Need 1 or more of -a, -C, -j, -m, -M, -p, -r, " + !arg_count(cmd, monitor_ARG) && !arg_count(cmd, poll_ARG)) { + log_error("Need 1 or more of -a, -C, -M, -p, -r, " "--resync, --refresh, --alloc, --addtag, --deltag, " "--monitor or --poll"); return EINVALID_CMD_LINE;