mirror of
https://github.com/ceph/ceph
synced 2024-12-29 15:03:33 +00:00
rgw clean-up: remove unused var & func in RGWRados::SystemObject
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
This commit is contained in:
parent
c662dc3067
commit
a5c88f61cb
@ -9863,11 +9863,6 @@ int RGWRados::Object::Read::range_to_ofs(uint64_t obj_size, int64_t &ofs, int64_
|
||||
return 0;
|
||||
}
|
||||
|
||||
int RGWRados::SystemObject::get_state(RGWRawObjState **pstate, RGWObjVersionTracker *objv_tracker)
|
||||
{
|
||||
return store->get_system_obj_state(&ctx, obj, pstate, objv_tracker);
|
||||
}
|
||||
|
||||
int RGWRados::stat_system_obj(RGWObjectCtx& obj_ctx,
|
||||
RGWRados::SystemObject::Read::GetObjState& state,
|
||||
rgw_raw_obj& obj,
|
||||
|
@ -2650,13 +2650,11 @@ public:
|
||||
RGWObjectCtx& ctx;
|
||||
rgw_raw_obj obj;
|
||||
|
||||
RGWObjState *state;
|
||||
|
||||
protected:
|
||||
int get_state(RGWRawObjState **pstate, RGWObjVersionTracker *objv_tracker);
|
||||
|
||||
public:
|
||||
SystemObject(RGWRados *_store, RGWObjectCtx& _ctx, rgw_raw_obj& _obj) : store(_store), ctx(_ctx), obj(_obj), state(NULL) {}
|
||||
|
||||
SystemObject(RGWRados *_store, RGWObjectCtx& _ctx, rgw_raw_obj& _obj) :
|
||||
store(_store), ctx(_ctx), obj(_obj)
|
||||
{}
|
||||
|
||||
void invalidate_state();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user