]> 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)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 9 Sep 2015 22:29:34 +0000 (15:29 -0700)
commit82ea02ab8d886c16c511c4bd7d03d826158f954b
tree8945abd2f3549fc922a9d792b8eca79d3e1a2bd2
parent69a320e185f20da0824d0a62d3de77578c431a7a
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