io-cache: Fix coverity issue NEGATIVE_RETURNS

Change-Id: I811225ad20e3bd9f05820212e6a843f05d96b246
Signed-off-by: Poornima G <pgurusid@redhat.com>
This commit is contained in:
Poornima G 2018-02-19 21:47:45 +05:30 committed by Raghavendra G
parent 0ec482b5d5
commit f5fc2a3188

View File

@ -1099,7 +1099,7 @@ ioc_readv (call_frame_t *frame, xlator_t *this, fd_t *fd,
ioc_local_t *local = NULL;
uint32_t weight = 0;
ioc_table_t *table = NULL;
int32_t op_errno = -1;
int32_t op_errno = EINVAL;
if (!this) {
goto out;