From: Yehuda Sadeh Date: Fri, 10 Jan 2014 22:46:01 +0000 (-0800) Subject: rgw: some fixes X-Git-Tag: v0.78~270^2~22 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a854d8937d4890e7abdaf431032603779733d497;p=ceph.git rgw: some fixes Signed-off-by: Yehuda Sadeh --- diff --git a/src/rgw/rgw_quota.cc b/src/rgw/rgw_quota.cc index 051c7aed2708..4286e8bd558f 100644 --- a/src/rgw/rgw_quota.cc +++ b/src/rgw/rgw_quota.cc @@ -295,7 +295,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) { @@ -386,7 +386,7 @@ protected: int fetch_stats_from_storage(const string& user, rgw_bucket& bucket, RGWStorageStats& stats); public: - RGWUserStatsCache(RGWRados *_store) : RGWQuotaCache(store, store->ctx()->_conf->rgw_bucket_quota_cache_size) { + RGWUserStatsCache(RGWRados *_store) : RGWQuotaCache(_store, _store->ctx()->_conf->rgw_bucket_quota_cache_size) { } AsyncRefreshHandler *allocate_refresh_handler(const string& user, rgw_bucket& bucket) {