From 1d9f12da830766b7d2bb540937424c6352f404db Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Tue, 29 Nov 2016 16:43:45 -0800 Subject: [PATCH] rgw: remove a use of g_ceph_context Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_lc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_lc.cc b/src/rgw/rgw_lc.cc index 8c5ec60a143..772e1e77346 100644 --- a/src/rgw/rgw_lc.cc +++ b/src/rgw/rgw_lc.cc @@ -417,7 +417,7 @@ int RGWLC::process(int index, int max_lock_secs) { rados::cls::lock::Lock l(lc_index_lock_name); do { - utime_t now = ceph_clock_now(g_ceph_context); + utime_t now = ceph_clock_now(cct); pair entry;//string = bucket_name:bucket_id ,int = LC_BUCKET_STATUS if (max_lock_secs <= 0) return -EAGAIN; -- 2.39.5