libceph: trivial fix for the incorrect debug output
authorJiaju Zhang <jjzhang@suse.de>
Fri, 20 Jul 2012 13:18:36 +0000 (08:18 -0500)
committerSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:15:36 +0000 (18:15 -0700)
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 <jjzhang@suse.de>
Reviewed-by: Alex Elder <elder@inktank.com>
net/ceph/osd_client.c

index c605705..ad427e6 100644 (file)
@@ -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),