From: Kefu Chai Date: Fri, 22 Jan 2021 02:33:56 +0000 (+0800) Subject: crimson/os: do not use __func__ in lambda X-Git-Tag: v17.0.0~4^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=237cbc9ba5da4c2a947a363a4dd90d8c01795869;p=ceph.git crimson/os: do not use __func__ in lambda Signed-off-by: Kefu Chai --- diff --git a/src/crimson/os/cyanstore/cyan_store.cc b/src/crimson/os/cyanstore/cyan_store.cc index eb93d72ec58ad..e0be221ee5948 100644 --- a/src/crimson/os/cyanstore/cyan_store.cc +++ b/src/crimson/os/cyanstore/cyan_store.cc @@ -95,7 +95,7 @@ seastar::future<> CyanStore::mkfs(uuid_d new_osd_fsid) } else if (r < 0) { throw std::runtime_error("read_meta"); } else { - logger().info("{} already has fsid {}", __func__, fsid_str); + logger().info("mkfs already has fsid {}", fsid_str); if (!osd_fsid.parse(fsid_str.c_str())) { throw std::runtime_error("failed to parse fsid"); } else if (osd_fsid != new_osd_fsid) {