]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: don't init rgw_obj from rgw_obj_key when it's incorrect to do so 13843/head
authorYehuda Sadeh <yehuda@redhat.com>
Mon, 27 Feb 2017 18:35:01 +0000 (10:35 -0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 7 Mar 2017 21:16:58 +0000 (22:16 +0100)
commit47cf8f6699ec0690e2a296b3abe289ce5d212e1c
treecf5028db2af8acf9af7e91f535f5a4278cc9ff6f
parent98a87fa97c9b23e21a05130c72730f5034691310
rgw: don't init rgw_obj from rgw_obj_key when it's incorrect to do so

Fixes: http://tracker.ceph.com/issues/19096
rgw_obj_key currently deals with the bucket index key, and not
representing a (name, instance, ns) tupple. Need to initialize
it in two steps.

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