From 92c22abb440ba8f8025441b16f3811b05927a16d Mon Sep 17 00:00:00 2001 From: Bhumika Goyal Date: Thu, 18 Oct 2018 17:30:09 +0530 Subject: xlators: some high severity coverity fixes Fixes: 124759 1288787 Change-Id: Ib8999242fc3ea5f4ea80246659899d2d4f06c506 updates: bz#789278 Signed-off-by: Bhumika Goyal --- xlators/performance/io-threads/src/io-threads.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/performance') diff --git a/xlators/performance/io-threads/src/io-threads.c b/xlators/performance/io-threads/src/io-threads.c index c98d1f6ada4..7f1a34676d9 100644 --- a/xlators/performance/io-threads/src/io-threads.c +++ b/xlators/performance/io-threads/src/io-threads.c @@ -1209,6 +1209,8 @@ init(xlator_t *this) if (ret != 0) goto out; + ret = -1; + GF_OPTION_INIT("thread-count", conf->max_count, int32, out); GF_OPTION_INIT("high-prio-threads", conf->ac_iot_limit[GF_FOP_PRI_HI], -- cgit