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

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