summaryrefslogtreecommitdiffstats
path: root/src/rgw/services/svc_user_rados.h
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@redhat.com>2022-07-13 16:22:09 +0200
committerCasey Bodley <cbodley@redhat.com>2022-07-13 20:24:30 +0200
commit3aee2a07975d425332f0746907e87d5f550ccb6b (patch)
tree24227932002759c0fb14c46b0625a08c59bc6ad6 /src/rgw/services/svc_user_rados.h
parentrgw: remove unused sysobj ctx args (diff)
downloadceph-3aee2a07975d425332f0746907e87d5f550ccb6b.tar.xz
ceph-3aee2a07975d425332f0746907e87d5f550ccb6b.zip
rgw: remove RGWSysObjectCtx entirely
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/services/svc_user_rados.h')
-rw-r--r--src/rgw/services/svc_user_rados.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/rgw/services/svc_user_rados.h b/src/rgw/services/svc_user_rados.h
index 3ab69b0355d..d822528c5d9 100644
--- a/src/rgw/services/svc_user_rados.h
+++ b/src/rgw/services/svc_user_rados.h
@@ -69,9 +69,9 @@ class RGWSI_User_RADOS : public RGWSI_User
int remove_uid_index(RGWSI_MetaBackend::Context *ctx, const RGWUserInfo& user_info, RGWObjVersionTracker *objv_tracker,
optional_yield y, const DoutPrefixProvider *dpp);
- int remove_key_index(const DoutPrefixProvider *dpp, RGWSI_MetaBackend::Context *ctx, const RGWAccessKey& access_key, optional_yield y);
- int remove_email_index(const DoutPrefixProvider *dpp, RGWSI_MetaBackend::Context *ctx, const std::string& email, optional_yield y);
- int remove_swift_name_index(const DoutPrefixProvider *dpp, RGWSI_MetaBackend::Context *ctx, const std::string& swift_name, optional_yield y);
+ int remove_key_index(const DoutPrefixProvider *dpp, const RGWAccessKey& access_key, optional_yield y);
+ int remove_email_index(const DoutPrefixProvider *dpp, const std::string& email, optional_yield y);
+ int remove_swift_name_index(const DoutPrefixProvider *dpp, const std::string& swift_name, optional_yield y);
/* admin management */
int cls_user_update_buckets(const DoutPrefixProvider *dpp, rgw_raw_obj& obj, std::list<cls_user_bucket_entry>& entries, bool add, optional_yield y);
@@ -171,18 +171,15 @@ public:
/* user buckets directory */
int add_bucket(const DoutPrefixProvider *dpp,
- RGWSI_MetaBackend::Context *ctx,
const rgw_user& user,
const rgw_bucket& bucket,
ceph::real_time creation_time,
optional_yield y) override;
int remove_bucket(const DoutPrefixProvider *dpp,
- RGWSI_MetaBackend::Context *ctx,
const rgw_user& user,
const rgw_bucket& _bucket,
optional_yield y) override;
int list_buckets(const DoutPrefixProvider *dpp,
- RGWSI_MetaBackend::Context *ctx,
const rgw_user& user,
const std::string& marker,
const std::string& end_marker,
@@ -193,16 +190,13 @@ public:
/* quota related */
int flush_bucket_stats(const DoutPrefixProvider *dpp,
- RGWSI_MetaBackend::Context *ctx,
const rgw_user& user,
const RGWBucketEnt& ent, optional_yield y) override;
int complete_flush_stats(const DoutPrefixProvider *dpp,
- RGWSI_MetaBackend::Context *ctx,
const rgw_user& user, optional_yield y) override;
int reset_bucket_stats(const DoutPrefixProvider *dpp,
- RGWSI_MetaBackend::Context *ctx,
const rgw_user& user,
optional_yield y) override;
int read_stats(const DoutPrefixProvider *dpp,
@@ -212,7 +206,7 @@ public:
ceph::real_time *last_stats_update,
optional_yield y) override; /* last time a stats update was done */
- int read_stats_async(const DoutPrefixProvider *dpp, RGWSI_MetaBackend::Context *ctx,
- const rgw_user& user, RGWGetUserStats_CB *cb) override;
+ int read_stats_async(const DoutPrefixProvider *dpp, const rgw_user& user,
+ RGWGetUserStats_CB *cb) override;
};