Skip to contentSkip to conversation

master - lvconvert: add missing option for repair

PATCH Zdenek Kabelac 1 participant 1 message Jul 17, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=04acf7a8d0713c858df893584401e96100f9d9d5
Commit:        04acf7a8d0713c858df893584401e96100f9d9d5
Parent:        3e4f24115a9b5dc8f60436195bffc60100d02620
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Jul 17 11:28:21 2014 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Jul 17 16:14:18 2014 +0200

lvconvert: add missing option for repair

Few more option needs to be allowed with --repair. (in-release fix).

---
 tools/lvconvert.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
tools/lvconvert.c +2 -1
index 2ad1603..8370b49 100644
@@ -392,8 +392,9 @@ static int _read_params(struct lvconvert_params *lp, struct cmd_context *cmd,
 	if (arg_count(cmd, repair_ARG) &&
 	    !arg_is_only_set(cmd, "cannot be used with --repair",
 			     repair_ARG,
-			     use_policies_ARG,
+			     alloc_ARG, use_policies_ARG,
 			     stripes_long_ARG, stripesize_ARG,
+			     force_ARG, noudevsync_ARG, test_ARG,
 			     -1))
 		return_0;