]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix assignment of copy obj attributes 4995/head
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 17 Jun 2015 18:35:18 +0000 (11:35 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 17 Jun 2015 18:46:15 +0000 (11:46 -0700)
commite41d97c8e38bb60d7e09e9801c0179efe7af1734
treeab2ad0ca78ce65180d65b794dd19fd28487e0645
parentc06fd71a1a3c7ef78fdc718a063beb1edb93a04a
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>
src/rgw/rgw_rados.cc