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.

[[email protected]: switched to use __func__]

Signed-off-by: Jiaju Zhang <[email protected]>
Reviewed-by: Alex Elder <[email protected]>
This commit is contained in:
Jiaju Zhang 2012-07-20 08:18:36 -05:00 • committed by Sage Weil
commit 048a9d2d06

View 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),