]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: move after-delimiter logic so available in both rgw & cls/osd
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 3 Sep 2019 14:49:12 +0000 (10:49 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 24 Jan 2020 18:44:09 +0000 (13:44 -0500)
commitae7383a51ca86c01bc152293973d3640a31decfc
tree3c60443096293c0307237d678a050666342466ac
parent6df531114c306f36842c462b8e7536c3f0315793
rgw: move after-delimiter logic so available in both rgw & cls/osd

Since we need to be able to calculate a key a path subdirectory both
in rgw and cls, move the code that calculates that to cls_rgw_types.h,
which is shared by both rgw and cls/osd.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/cls/rgw/cls_rgw_types.h
src/rgw/rgw_rados.cc