From: Casey Bodley Date: Tue, 9 Aug 2016 21:33:05 +0000 (-0400) Subject: rgw: move coroutines out of anonymous namespace X-Git-Tag: v12.0.3~20^2~21 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fadfc162ebf74b3bb1db4f0a67e7a21547f60514;p=ceph.git rgw: move coroutines out of anonymous namespace anonymous namespaces do terrible things to name mangling, and this shows up in our coroutine logging Signed-off-by: Casey Bodley --- diff --git a/src/rgw/rgw_data_sync.cc b/src/rgw/rgw_data_sync.cc index ea69374b0746..7d338903d393 100644 --- a/src/rgw/rgw_data_sync.cc +++ b/src/rgw/rgw_data_sync.cc @@ -2936,6 +2936,8 @@ void take_min_markers(IterIn first, IterIn last, IterOut dest) } } +} // anonymous namespace + class DataLogTrimCR : public RGWCoroutine { RGWRados *store; RGWHTTPManager *http; @@ -3077,8 +3079,6 @@ int DataLogTrimPollCR::operate() return 0; } -} // anonymous namespace - RGWCoroutine* create_data_log_trim_cr(RGWRados *store, RGWHTTPManager *http, int num_shards, utime_t interval)