]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: list_objects() sets namespace appropriately
authorYehuda Sadeh <yehuda@redhat.com>
Sat, 2 May 2015 23:34:09 +0000 (16:34 -0700)
committerLoic Dachary <ldachary@redhat.com>
Sun, 30 Aug 2015 15:55:59 +0000 (17:55 +0200)
commit0082036348e0463e42520504466961eb2bd77602
tree76351c0a935961b4561572fc3938fe36f1a79020
parent1c3707291e83771ca1d5cd24ce445f723006b744
rgw: list_objects() sets namespace appropriately

list_objects() now uses parse_raw_oid(), so that it can set the correct
namespace. It only affects users of the function that want to get all
objects in bucket, regardless to the namespace associated with it. This
makes it so that the orphan code actually works now with namespaced
objects, and with special named objects (namely, start with underscore).

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 20bd490bebf9be3553d4e25322c9544b0b090086)
src/rgw/rgw_common.h
src/rgw/rgw_orphan.cc
src/rgw/rgw_rados.cc