Merge pull request #17774 from amitkumar50/cov-misc-4

include,messages,rbd: Initialize counter,group_pool

Reviewed-by: Jos Collin <jcollin@redhat.com>
This commit is contained in:
Yuri Weinstein 2017-09-28 15:53:57 -07:00 committed by GitHub
commit a2d72791ef
3 changed files with 2 additions and 3 deletions

View File

@ -256,7 +256,7 @@ struct GroupSnapshotNamespace {
group_id(_group_id),
snapshot_id(_snapshot_id) {}
int64_t group_pool;
int64_t group_pool = 0;
string group_id;
snapid_t snapshot_id;

View File

@ -596,7 +596,6 @@ namespace buffer CEPH_BUFFER_API {
class page_aligned_appender {
bufferlist *pbl;
size_t offset;
unsigned min_alloc;
ptr buffer;
char *pos, *end;

View File

@ -36,7 +36,7 @@ class MDataPing : public Message {
static const int COMPAT_VERSION = 1;
std::string tag;
uint32_t counter;
uint32_t counter = 0;
mdata_hook_func mdata_hook;
struct xio_reg_mem mp;
bool free_data;