Message ID | 1476221815-17900-2-git-send-email-mchristi@redhat.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | Mike Snitzer |
Headers | show |
diff --git a/libmultipath/checkers/rbd.c b/libmultipath/checkers/rbd.c index bfec2c9..8f88154 100644 --- a/libmultipath/checkers/rbd.c +++ b/libmultipath/checkers/rbd.c @@ -552,7 +552,7 @@ static int rbd_exec_fn(struct checker *c, thread_fn *fn) int rbd_status, r; if (c->sync) - return rbd_check(ct, c->message); + return fn(ct, c->message); /* * Async mode */
If sync was set we were calling check instead of function passed in. Signed-off-by: Mike Christie <mchristi@redhat.com> --- libmultipath/checkers/rbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)