mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Remove incorrect requirement for -j or -m from lvchange error message.
This commit is contained in:
parent
0945b313bf
commit
58366c058e
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user