]> git.apps.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>
Tue, 11 Apr 2023 13:11:49 +0000 (09:11 -0400)
commit0bf5a0474702079adfe5c6005c0fec6a21d06c86
treed3bcbe6dd3cdb8c0469cd7d35afe6ba180453847
parent66f2427e85b86dcf72b8c311def3b942dddbecc6
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>
(cherry picked from commit a779f46a9c59c2aa8ac7bd46d5b58945ed68bdab)
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