]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: dont duplicate sal handles in RGWCopyObj
authorCasey Bodley <cbodley@redhat.com>
Thu, 23 Mar 2023 18:01:51 +0000 (14:01 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 23 Mar 2023 18:17:04 +0000 (14:17 -0400)
commita779f46a9c59c2aa8ac7bd46d5b58945ed68bdab
tree738580c8d9b197a155e141ee57d437f1f6c02336
parent6c5f7194181a6f2227cb72099d1208cb60df2efb
rgw: dont duplicate sal handles in RGWCopyObj

the CopyObject request is issued against the destination bucket/object,
so refer directly to s->bucket and s->object instead of creating
separate dst_bucket and dst_object handles

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