Blame SOURCES/bz1798641-fence_mpath-fix-reserve-parameter-typo.patch

21d5fd
From 0d3ff341c5dcff7ded0274ae20460895f35c13d6 Mon Sep 17 00:00:00 2001
21d5fd
From: Oyvind Albrigtsen <oalbrigt@redhat.com>
21d5fd
Date: Thu, 13 Feb 2020 15:40:24 +0100
21d5fd
Subject: [PATCH] fence_mpath: fix --reserve parameter typo
21d5fd
21d5fd
---
21d5fd
 agents/mpath/fence_mpath.py | 2 +-
21d5fd
 1 file changed, 1 insertion(+), 1 deletion(-)
21d5fd
21d5fd
diff --git a/agents/mpath/fence_mpath.py b/agents/mpath/fence_mpath.py
21d5fd
index 73517851..a3d9fe23 100644
21d5fd
--- a/agents/mpath/fence_mpath.py
21d5fd
+++ b/agents/mpath/fence_mpath.py
21d5fd
@@ -106,7 +106,7 @@ def register_dev(options, dev):
21d5fd
 	return not bool(run_cmd(options, cmd)["err"])
21d5fd
 
21d5fd
 def reserve_dev(options, dev):
21d5fd
-	cmd = options["--mpathpersist-path"] + " -o --reserv --prout-type=5 --param-rk=" + options["--plug"] + " -d " + dev
21d5fd
+	cmd = options["--mpathpersist-path"] + " -o --reserve --prout-type=5 --param-rk=" + options["--plug"] + " -d " + dev
21d5fd
 	return not bool(run_cmd(options, cmd)["err"])
21d5fd
 
21d5fd
 def get_reservation_key(options, dev):