From: xie xingguo Date: Wed, 13 Jan 2016 07:16:37 +0000 (+0800) Subject: kstore: fix wrong tips in comment X-Git-Tag: v10.0.3~45^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=21799acc210218322f3070af0abdaaa2cb4c946c;p=ceph.git kstore: fix wrong tips in comment Signed-off-by: xie xingguo --- diff --git a/src/os/kstore/KStore.cc b/src/os/kstore/KStore.cc index 9490751f72d9..54f7aca477ad 100644 --- a/src/os/kstore/KStore.cc +++ b/src/os/kstore/KStore.cc @@ -69,11 +69,11 @@ const string PREFIX_OMAP = "M"; // u64 + keyname -> value * string encoding in the key * * The key string needs to lexicographically sort the same way that - * ghobject_t does. We do this by escaping anything <= to '%' with % + * ghobject_t does. We do this by escaping anything <= to '#' with # * plus a 2 digit hex string, and anything >= '~' with ~ plus the two * hex digits. * - * We use ! as a terminator for strings; this works because it is < % + * We use ! as a terminator for strings; this works because it is < # * and will get escaped if it is present in the string. * */