From: Sage Weil Date: Mon, 12 Jan 2015 01:31:47 +0000 (-0800) Subject: osd: add coll_t::c_str() back X-Git-Tag: v9.0.3~52^2~17 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=27e41877040fdb3aa4d427a950c6e6a7f2976e1f;p=ceph.git osd: add coll_t::c_str() back This fixes the tracepoints, and is easy/convenient. Signed-off-by: Sage Weil --- diff --git a/src/osd/osd_types.h b/src/osd/osd_types.h index 838de63f3fb..de39af2bf95 100644 --- a/src/osd/osd_types.h +++ b/src/osd/osd_types.h @@ -518,6 +518,9 @@ public: const std::string& to_str() const { return _str; } + const char *c_str() const { + return _str.c_str(); + } bool parse(const std::string& s); int operator<(const coll_t &rhs) const {