mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-08 08:58:50 +03:00
thin: cannot use snapshot merge with thinpool
This commit is contained in:
parent
0191d99906
commit
9cf00666b3
@ -191,9 +191,10 @@ static int _read_params(struct lvconvert_params *lp, struct cmd_context *cmd,
|
||||
|
||||
if ((arg_count(cmd, snapshot_ARG) || arg_count(cmd, merge_ARG)) &&
|
||||
(arg_count(cmd, mirrorlog_ARG) || arg_count(cmd, mirrors_ARG) ||
|
||||
arg_count(cmd, repair_ARG))) {
|
||||
arg_count(cmd, repair_ARG) || arg_count(cmd, thinpool_ARG))) {
|
||||
log_error("--snapshot or --merge argument cannot be mixed "
|
||||
"with --mirrors, --repair or --mirrorlog");
|
||||
"with --mirrors, --mirrorlog, --repair "
|
||||
"or --thinpool.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user