]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: GetObjAttrs calls rgw_s3_prepare_decrypt()
authorCasey Bodley <cbodley@redhat.com>
Thu, 17 Oct 2024 23:25:57 +0000 (19:25 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 8 Jan 2025 00:17:27 +0000 (19:17 -0500)
commit56bf5073cf384d40b8e8f4348a48f7a727f7023e
treed9a23cf4b810b1958af4d51421fc09e4968f8f3b
parent1be4399edda33c381a727c51e1d232b3ea8f773b
rgw: GetObjAttrs calls rgw_s3_prepare_decrypt()

RGWGetObj::execute() relies on the virtual get_decrypt_filter() which is
overridden by RGWGetObj_ObjStore_S3

but when called from RGWGetObjAttrs_ObjStore_S3, there is no override.
add one that just calls rgw_s3_prepare_decrypt()

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_op.cc
src/rgw/rgw_rest_s3.cc
src/rgw/rgw_rest_s3.h