Blame SOURCES/0184-rbd-fix-sync-repair-support.patch

c896fb
From d1bda720153b4978121fbae40f82d2f4b9aff997 Mon Sep 17 00:00:00 2001
c896fb
From: Mike Christie <mchristi@redhat.com>
c896fb
Date: Thu, 25 Aug 2016 01:34:11 -0500
c896fb
Subject: [PATCH 08/11] rbd: fix sync repair support
c896fb
c896fb
If sync was set we were calling check instead
c896fb
of function passed in.
c896fb
c896fb
Signed-off-by: Mike Christie <mchristi@redhat.com>
c896fb
---
c896fb
 libmultipath/checkers/rbd.c | 2 +-
c896fb
 1 file changed, 1 insertion(+), 1 deletion(-)
c896fb
c896fb
diff --git a/libmultipath/checkers/rbd.c b/libmultipath/checkers/rbd.c
c896fb
index 6f1b53a..76f4005 100644
c896fb
--- a/libmultipath/checkers/rbd.c
c896fb
+++ b/libmultipath/checkers/rbd.c
c896fb
@@ -554,7 +554,7 @@ static int rbd_exec_fn(struct checker *c, thread_fn *fn)
c896fb
 	int rbd_status, r;
c896fb
 
c896fb
 	if (c->sync)
c896fb
-		return rbd_check(ct, c->message);
c896fb
+		return fn(ct, c->message);
c896fb
 	/*
c896fb
 	 * Async mode
c896fb
 	 */
c896fb
-- 
c896fb
1.8.3.1
c896fb