ceph/ceph — pull request #61 by dalgaaf (2013-02-15 14:42:05+00:00)
Title: cherry-pick fix for #4122 from bobtail back to master

Newer versions of spirit (1.49.0-3.1ubuntu1.1 in quantal, in particular)
dislike the construct with alnum and replace the - and _ with '\0' in the
resulting string.

Fixes: #4122
Backport: bobtail
Signed-off-by: Sage Weil
Reviewed-by: Josh Durgin
(cherry picked from commit 6c504d96c1e4fbb67578fba0666ca453b939c218)