]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix assignment of copy obj attributes
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 17 Jun 2015 18:35:18 +0000 (11:35 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Wed, 23 Sep 2015 20:37:39 +0000 (14:37 -0600)
commitb0ca077cb735df66cf39689c4a042a6b3536a262
tree19d7fe4c9a1ac5fb7720aa685a5e6043c31a616d
parent320f4cc12a8cf3d10139fcdc2c3818501785a06b
rgw: fix assignment of copy obj attributes

Fixes: #11563
Clarify the confusing usage of set_copy_attrs() by switching the source and
destinatiion params (attrs, src_attrs). Switch to use attrs instead of
src_attrs afterwards. In one of the cases we originally used the wrong
variable.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit e41d97c8e38bb60d7e09e9801c0179efe7af1734)
src/rgw/rgw_rados.cc