From: Yehuda Sadeh Date: Thu, 30 Jan 2014 18:35:04 +0000 (-0800) Subject: rgw: fix build on centos X-Git-Tag: v0.78~242 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=754ddb16cb7708cebeafeea75b01ab83b30cd7f1;p=ceph.git rgw: fix build on centos Signed-off-by: Yehuda Sadeh Reviewed-by: Sage Weil --- diff --git a/src/rgw/rgw_quota.cc b/src/rgw/rgw_quota.cc index 130776c3b8cd..eab7e37acb72 100644 --- a/src/rgw/rgw_quota.cc +++ b/src/rgw/rgw_quota.cc @@ -306,7 +306,7 @@ protected: int fetch_stats_from_storage(const string& user, rgw_bucket& bucket, RGWStorageStats& stats); public: - RGWBucketStatsCache(RGWRados *_store) : RGWQuotaCache(_store, _store->ctx()->_conf->rgw_bucket_quota_cache_size) { + RGWBucketStatsCache(RGWRados *_store) : RGWQuotaCache(_store, _store->ctx()->_conf->rgw_bucket_quota_cache_size) { } AsyncRefreshHandler *allocate_refresh_handler(const string& user, rgw_bucket& bucket) { @@ -515,7 +515,7 @@ protected: } public: - RGWUserStatsCache(RGWRados *_store, bool quota_threads) : RGWQuotaCache(_store, _store->ctx()->_conf->rgw_bucket_quota_cache_size), + RGWUserStatsCache(RGWRados *_store, bool quota_threads) : RGWQuotaCache(_store, _store->ctx()->_conf->rgw_bucket_quota_cache_size), rwlock("RGWUserStatsCache::rwlock") { if (quota_threads) { buckets_sync_thread = new BucketsSyncThread(store->ctx(), this);