From: Jiaju Zhang Date: Fri, 20 Jul 2012 13:18:36 +0000 (-0500) Subject: libceph: trivial fix for the incorrect debug output X-Git-Tag: upstream/snapshot3+hdmi~6908^2~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=048a9d2d069e3d63c9169de82649be00de65a8f6;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git libceph: trivial fix for the incorrect debug output This is a trivial fix for the debug output, as it is inconsistent with the function name so may confuse people when debugging. [elder@inktank.com: switched to use __func__] Signed-off-by: Jiaju Zhang Reviewed-by: Alex Elder --- diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index c605705..ad427e6 100644 --- a/net/ceph/osd_client.c +++ b/net/ceph/osd_client.c @@ -688,7 +688,7 @@ static void __remove_osd(struct ceph_osd_client *osdc, struct ceph_osd *osd) static void remove_all_osds(struct ceph_osd_client *osdc) { - dout("__remove_old_osds %p\n", osdc); + dout("%s %p\n", __func__, osdc); mutex_lock(&osdc->request_mutex); while (!RB_EMPTY_ROOT(&osdc->osds)) { struct ceph_osd *osd = rb_entry(rb_first(&osdc->osds),