From: Yehuda Sadeh Date: Mon, 12 Jan 2015 22:38:58 +0000 (-0800) Subject: rgw: initialize RGWBucketInfo::num_shards X-Git-Tag: v0.92~12^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=33dc07cc7afffa4acab0d6903bb0b1631c5f5519;p=ceph.git rgw: initialize RGWBucketInfo::num_shards Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index b6d4b2af522b..ae3c96dc1a40 100644 --- a/src/rgw/rgw_common.h +++ b/src/rgw/rgw_common.h @@ -817,7 +817,7 @@ struct RGWBucketInfo void decode_json(JSONObj *obj); - RGWBucketInfo() : flags(0), creation_time(0), has_instance_obj(false), bucket_index_shard_hash_type(MOD) {} + RGWBucketInfo() : flags(0), creation_time(0), has_instance_obj(false), num_shards(0), bucket_index_shard_hash_type(MOD) {} }; WRITE_CLASS_ENCODER(RGWBucketInfo)