]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd,os,io: Initializing C_ProxyChunkRead members,queue,request
authoramitkuma <amitkuma@redhat.com>
Tue, 5 Dec 2017 16:08:35 +0000 (21:38 +0530)
committeramitkuma <amitkuma@redhat.com>
Tue, 5 Dec 2017 16:08:35 +0000 (21:38 +0530)
commit223c559e371e2d983d27e420b554a02e3af3c7e4
tree0711866b8699a8de2493fd6bd46e3843a0f572ee
parent4a0186ee300b406c3003e22612465dea4287e1a4
osd,os,io: Initializing C_ProxyChunkRead members,queue,request

Fixes the coverity issue:

2. uninit_member: Non-static class member op_index is not initialized
in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member req_offset is not initialized
in this constructor nor in any functions that it calls.
CID 1424845 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
6. uninit_member: Non-static class member req_total_len is not
initialized in this constructor nor in any functions that it calls.

CID 1422461 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
2. uninit_member: Non-static class member queue is not initialized
in this constructor nor in any functions that it calls.

CID 1422362 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
2. uninit_member: Non-static class member request is not initialized
in this constructor nor in any functions that it calls

Signed-off-by: Amit Kumar amitkuma@redhat.com
src/librbd/io/ReadResult.h
src/os/bluestore/NVMEDevice.cc
src/osd/PrimaryLogPG.cc