summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2013-10-02 16:34:40 -0700
committerYehuda Sadeh <yehuda@inktank.com>2013-10-02 16:34:40 -0700
commit80659ccea852769ddeabb2ecb34bf6328e2428f5 (patch)
treec12214169eca08db9c12fa57b89a5e5729215e1f
parent2c8891088000efde9d4e359b1237bc4d9909c2a4 (diff)
downloadceph-80659ccea852769ddeabb2ecb34bf6328e2428f5.tar.gz
rgw: init RGWBucketStats
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
-rw-r--r--src/rgw/rgw_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h
index f27a9c8348a..baf60001a8b 100644
--- a/src/rgw/rgw_common.h
+++ b/src/rgw/rgw_common.h
@@ -770,6 +770,8 @@ struct RGWBucketStats
uint64_t num_kb;
uint64_t num_kb_rounded;
uint64_t num_objects;
+
+ RGWBucketStats() : num_kb(0), num_kb_rounded(0), num_objects(0) {}
};
struct req_state;