]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix bucket_instance_meta_info mtime json decoding
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 18 Mar 2016 22:49:20 +0000 (15:49 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 23 Mar 2016 17:35:28 +0000 (10:35 -0700)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_data_sync.cc

index 6c35d3cf27258cf4a1799df90328176b9ed037f5..f53596f21e6b4713056fd981f0613b462091fdc0 100644 (file)
@@ -551,10 +551,10 @@ static string full_data_sync_index_shard_oid(const string& source_zone, int shar
 struct bucket_instance_meta_info {
   string key;
   obj_version ver;
-  time_t mtime;
+  utime_t mtime;
   RGWBucketInstanceMetadataObject data;
 
-  bucket_instance_meta_info() : mtime(0) {}
+  bucket_instance_meta_info() {}
 
   void decode_json(JSONObj *obj) {
     JSONDecoder::decode_json("key", key, obj);