summaryrefslogtreecommitdiffstats
path: root/net/ceph
diff options
context:
space:
mode:
authorJiaju Zhang <jjzhang@suse.de>2012-07-20 08:18:36 -0500
committerSage Weil <sage@inktank.com>2012-07-30 18:15:36 -0700
commit048a9d2d069e3d63c9169de82649be00de65a8f6 (patch)
treeeab3feebe35a32b6539f4921912820cecb97ecf3 /net/ceph
parent21ec6ffa46719a4ed45531b5b01014c26f0416c4 (diff)
downloadlinux-048a9d2d069e3d63c9169de82649be00de65a8f6.tar.gz
linux-048a9d2d069e3d63c9169de82649be00de65a8f6.tar.bz2
linux-048a9d2d069e3d63c9169de82649be00de65a8f6.zip
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 <jjzhang@suse.de> Reviewed-by: Alex Elder <elder@inktank.com>
Diffstat (limited to 'net/ceph')
-rw-r--r--net/ceph/osd_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c
index c605705c2f57..ad427e698890 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),