diff options
Diffstat (limited to 'src/rgw/rgw_cache.h')
-rw-r--r-- | src/rgw/rgw_cache.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rgw/rgw_cache.h b/src/rgw/rgw_cache.h index 3089723913d..4691232d03d 100644 --- a/src/rgw/rgw_cache.h +++ b/src/rgw/rgw_cache.h @@ -233,10 +233,10 @@ public: RGWObjVersionTracker *objv_tracker); int put_system_obj_impl(rgw_raw_obj& obj, uint64_t size, real_time *mtime, map<std::string, bufferlist>& attrs, int flags, - bufferlist& data, + const bufferlist& data, RGWObjVersionTracker *objv_tracker, real_time set_mtime) override; - int put_system_obj_data(void *ctx, rgw_raw_obj& obj, bufferlist& bl, off_t ofs, bool exclusive, + int put_system_obj_data(void *ctx, rgw_raw_obj& obj, const bufferlist& bl, off_t ofs, bool exclusive, RGWObjVersionTracker *objv_tracker = nullptr) override; int get_system_obj(RGWObjectCtx& obj_ctx, RGWRados::SystemObject::Read::GetObjState& read_state, @@ -393,7 +393,7 @@ int RGWCache<T>::system_obj_set_attrs(void *ctx, rgw_raw_obj& obj, template <class T> int RGWCache<T>::put_system_obj_impl(rgw_raw_obj& obj, uint64_t size, real_time *mtime, map<std::string, bufferlist>& attrs, int flags, - bufferlist& data, + const bufferlist& data, RGWObjVersionTracker *objv_tracker, real_time set_mtime) { @@ -431,7 +431,7 @@ int RGWCache<T>::put_system_obj_impl(rgw_raw_obj& obj, uint64_t size, real_time } template <class T> -int RGWCache<T>::put_system_obj_data(void *ctx, rgw_raw_obj& obj, bufferlist& data, off_t ofs, bool exclusive, +int RGWCache<T>::put_system_obj_data(void *ctx, rgw_raw_obj& obj, const bufferlist& data, off_t ofs, bool exclusive, RGWObjVersionTracker *objv_tracker) { rgw_pool pool; |