summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Just <rexludorum@gmail.com>2011-09-02 16:46:57 -0700
committerSamuel Just <samuel.just@dreamhost.com>2011-09-02 17:08:29 -0700
commitc856a40f7c8688c8ab99d6f0b9cd1549e2dc5fc4 (patch)
tree99e42ab7265348c34f95f92959f50dabe2e3a5d9
parent524b0d022de9100b69d237d71f0cb262abe16021 (diff)
downloadceph-c856a40f7c8688c8ab99d6f0b9cd1549e2dc5fc4.tar.gz
LFNIndex: Fix lfn parsing for hobjects with keys
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
-rw-r--r--src/os/LFNIndex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/LFNIndex.cc b/src/os/LFNIndex.cc
index 126a4b9edbd..dc133bb48b2 100644
--- a/src/os/LFNIndex.cc
+++ b/src/os/LFNIndex.cc
@@ -793,7 +793,7 @@ bool LFNIndex::lfn_parse_object_name(const string &long_name, hobject_t *out) {
for (; end != long_name.end() && *end != '_'; ++end);
if (end == long_name.end())
return false;
- if (!append_unescaped(current, end, &(out->oid.name)))
+ if (!append_unescaped(current, end, &(out->key)))
return false;
current = ++end;