]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cls_rgw: fix rgw_bucket_olh_log_entry::epoch initialization
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 29 Jan 2015 19:24:57 +0000 (11:24 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 29 Jan 2015 19:24:57 +0000 (11:24 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/cls/rgw/cls_rgw_types.h

index a5f10e303d6c5531f6ce3cb1c8ce4f8ec376b3b4..77f86113709152a8ede998669c2b1d4bb8f0d53a 100644 (file)
@@ -392,7 +392,7 @@ struct rgw_bucket_olh_log_entry {
   cls_rgw_obj_key key;
   bool delete_marker;
 
-  rgw_bucket_olh_log_entry() : op(CLS_RGW_OLH_OP_UNKNOWN), delete_marker(false) {}
+  rgw_bucket_olh_log_entry() : epoch(0), op(CLS_RGW_OLH_OP_UNKNOWN), delete_marker(false) {}
 
 
   void encode(bufferlist &bl) const {