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

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