]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cls/rgw: fix FTBFS 8142/head
authorKefu Chai <kchai@redhat.com>
Wed, 16 Mar 2016 03:46:51 +0000 (11:46 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 16 Mar 2016 03:46:57 +0000 (11:46 +0800)
BIVerObjEntry::mtime() is a method not a member variable

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/cls/rgw/cls_rgw.cc

index ba92b846844a2739da5d926c6b5fbb747405eedf..4920d46ac100a98515bb3d62ac89bbfe36a634a2 100644 (file)
@@ -1391,7 +1391,7 @@ static int rgw_bucket_link_olh(cls_method_context_t hctx, bufferlist *in, buffer
   }
 
   if (existed && !real_clock::is_zero(op.unmod_since)) {
-    struct timespec mtime = ceph::real_clock::to_timespec(obj.mtime);
+    struct timespec mtime = ceph::real_clock::to_timespec(obj.mtime());
     struct timespec unmod = ceph::real_clock::to_timespec(op.unmod_since);
     if (!op.high_precision_time) {
       mtime.tv_nsec = 0;