From: Colin Patrick McCabe Date: Wed, 1 Jun 2011 00:03:23 +0000 (-0700) Subject: rados_sync: don't hash paths with periods X-Git-Tag: v0.30~148 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7c6c6a9ecc1f0722d63430336b18f964d8b2ea03;p=ceph.git rados_sync: don't hash paths with periods A period is not such a bad character. Signed-off-by: Colin McCabe --- diff --git a/src/rados_sync.cc b/src/rados_sync.cc index 8e2b06f948a4..d8b88396b40f 100644 --- a/src/rados_sync.cc +++ b/src/rados_sync.cc @@ -197,10 +197,6 @@ public: c = '_'; need_hash = true; } - else if (c == '.') { - c = '@'; - need_hash = true; - } else if (c == '\n') { c = '@'; need_hash = true;