int RGWRadosObject::get_obj_state(const DoutPrefixProvider *dpp, RGWObjectCtx *rctx, RGWBucket& bucket, RGWObjState **state, optional_yield y, bool follow_olh)
{
- rgw_obj obj(bucket.get_key(), key);
- obj.set_in_extra_data(in_extra_data);
- obj.index_hash_source = index_hash_source;
-
- return store->getRados()->get_obj_state(dpp, rctx, bucket.get_info(), obj, state, follow_olh, y);
+ //rgw_obj obj(bucket.get_key(), key);
+ //obj.set_in_extra_data(in_extra_data);
+ //obj.index_hash_source = index_hash_source;
+ return store->getRados()->get_obj_state(dpp, rctx, bucket.get_info(), get_obj(), state, follow_olh, y);
}
int RGWRadosObject::read_attrs(RGWRados::Object::Read &read_op, optional_yield y, const DoutPrefixProvider *dpp, rgw_obj *target_obj)