io-cache: Fix coverity issue NEGATIVE_RETURNS
Change-Id: I811225ad20e3bd9f05820212e6a843f05d96b246 Signed-off-by: Poornima G <pgurusid@redhat.com>
This commit is contained in:
parent
0ec482b5d5
commit
f5fc2a3188
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user