summaryrefslogtreecommitdiffstats
path: root/xlators/performance/io-threads
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance/io-threads')
-rw-r--r--xlators/performance/io-threads/src/io-threads.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/performance/io-threads/src/io-threads.c b/xlators/performance/io-threads/src/io-threads.c
index 3bebb3185..9ace53ba5 100644
--- a/xlators/performance/io-threads/src/io-threads.c
+++ b/xlators/performance/io-threads/src/io-threads.c
@@ -88,6 +88,7 @@ iot_open (call_frame_t *frame,
gf_log (this->name, GF_LOG_ERROR,
"cannot get open call stub");
STACK_UNWIND (frame, -1, ENOMEM, NULL, 0);
+ return 0;
}
iot_schedule ((iot_conf_t *)this->private, loc->inode, stub);
@@ -144,6 +145,7 @@ iot_create (call_frame_t *frame,
gf_log (this->name, GF_LOG_ERROR,
"cannot get create call stub");
STACK_UNWIND (frame, -1, ENOMEM, NULL, 0);
+ return 0;
}
iot_schedule ((iot_conf_t *)this->private, loc->inode, stub);
return 0;