mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
librgw: make_fhk put base name, object_name in wrong order
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
This commit is contained in:
parent
3e6e4ed25c
commit
13bc25a18b
@ -261,7 +261,7 @@ namespace rgw {
|
||||
if (depth <= 1)
|
||||
return fh_key(fhk.fh_hk.object, name.c_str());
|
||||
else {
|
||||
std::vector<const std::string*> segments = { &object_name(), &name };
|
||||
std::vector<const std::string*> segments = { &name, &object_name() };
|
||||
while (parent && !parent->is_bucket())
|
||||
segments.push_back(&parent->object_name());
|
||||
/* hash path */
|
||||
|
Loading…
Reference in New Issue
Block a user