diff options
author | Alasdair G Kergon <agk@redhat.com> | 2016-08-02 15:57:45 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2016-08-02 15:59:12 +0100 |
commit | 804a397643a38b9c82d22eacaca2138f2af57bec (patch) | |
tree | a6e12198effd7c26bc5b3436e55e1fb4b5b5af80 | |
parent | d0d03f315bd988bab50e45c4907ab626a780e600 (diff) | |
download | lvm2-804a397643a38b9c82d22eacaca2138f2af57bec.tar.gz |
lvconvert: Forbid stripe parameters with --repair.
-rw-r--r-- | WHATS_NEW | 1 | ||||
-rw-r--r-- | tools/lvconvert.c | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -1,5 +1,6 @@ Version 2.02.163 - ================================= + Forbid stripe parameters with lvconvert --repair. Unify stripe size validation into get_stripe_params to catch missing cases. Further lvconvert validation logic refactoring. diff --git a/tools/lvconvert.c b/tools/lvconvert.c index dd0102f8a..80760c6b4 100644 --- a/tools/lvconvert.c +++ b/tools/lvconvert.c @@ -449,7 +449,6 @@ static int _read_params(struct cmd_context *cmd, int argc, char **argv, if (arg_outside_list_is_set(cmd, "cannot be used with --repair", repair_ARG, alloc_ARG, usepolicies_ARG, - stripes_long_ARG, stripesize_ARG, force_ARG, noudevsync_ARG, test_ARG, -1)) return_0; |