From f03f99d7af8c6cf3c64f1f0dfd5f6e464325c8e3 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Wed, 16 Mar 2016 11:46:51 +0800 Subject: [PATCH] cls/rgw: fix FTBFS BIVerObjEntry::mtime() is a method not a member variable Signed-off-by: Kefu Chai --- src/cls/rgw/cls_rgw.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cls/rgw/cls_rgw.cc b/src/cls/rgw/cls_rgw.cc index ba92b846844a2..4920d46ac100a 100644 --- a/src/cls/rgw/cls_rgw.cc +++ b/src/cls/rgw/cls_rgw.cc @@ -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; -- 2.39.5