]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: encode rgw_obj::orig_obj
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 10 Feb 2015 02:16:13 +0000 (18:16 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Tue, 10 Feb 2015 20:41:19 +0000 (12:41 -0800)
commit3e54acbc20c52a749586978e2111c55dbef1a2b6
tree5ddad2e120b3dc36719c9ba77d16aff59ac4f960
parentf86fb9799e173dd9d3486c71d9a464d3465ad256
rgw: encode rgw_obj::orig_obj

We weren't encoding orig_obj, however, it's now needed so that we can
call get_index_key() on decoded objects. Only encode/decode it if ns or
instance are not empty.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_common.h