]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: reduce use of Object::get_obj()
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 18 Nov 2014 20:07:15 +0000 (12:07 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 19 Jan 2015 23:57:54 +0000 (15:57 -0800)
commit6c08f58acb374ee0ae1b41bdbf6a391d35b59a69
tree7216965e2e13ceb8087ee35e6affe560bf0ce5a2
parentb4f3de0475afb231af2d5c99add5c155ff257ade
rgw: reduce use of Object::get_obj()

We should avoid using this one, as it's not going to point at the object
instance in case it's an olh. Only kept the use in
Object::Delete, as we make explicit checks before using it.

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