diff options
author | Casey Bodley <cbodley@redhat.com> | 2022-11-02 19:15:51 +0100 |
---|---|---|
committer | Casey Bodley <cbodley@redhat.com> | 2022-12-09 22:58:41 +0100 |
commit | 195a4b5170a9c7dc31a5b6580e3b9f4ac141ed1f (patch) | |
tree | 21f5b96d76f85b2539afd0dbec601210539baca4 /src/rgw/rgw_process.cc | |
parent | rgw: process_request() takes RGWProcessEnv (diff) | |
download | ceph-195a4b5170a9c7dc31a5b6580e3b9f4ac141ed1f.tar.xz ceph-195a4b5170a9c7dc31a5b6580e3b9f4ac141ed1f.zip |
rgw: req_state takes const ref to RGWProcessEnv
make the RGWProcessEnv accessible to any call paths that have a
req_state
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/rgw_process.cc')
-rw-r--r-- | src/rgw/rgw_process.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_process.cc b/src/rgw/rgw_process.cc index e7164243c83..d926a41d5a3 100644 --- a/src/rgw/rgw_process.cc +++ b/src/rgw/rgw_process.cc @@ -278,7 +278,7 @@ int process_request(const RGWProcessEnv& penv, RGWEnv& rgw_env = client_io->get_env(); - req_state rstate(g_ceph_context, &rgw_env, req->id); + req_state rstate(g_ceph_context, penv, &rgw_env, req->id); req_state *s = &rstate; s->ratelimit_data = penv.ratelimiting->get_active(); |