From patchwork Sun Jul 15 06:45:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaju Zhang X-Patchwork-Id: 1198471 Return-Path: X-Original-To: patchwork-ceph-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id A0EAFE007A for ; Sun, 15 Jul 2012 06:45:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750884Ab2GOGp4 (ORCPT ); Sun, 15 Jul 2012 02:45:56 -0400 Received: from cantor2.suse.de ([195.135.220.15]:42898 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750807Ab2GOGp4 (ORCPT ); Sun, 15 Jul 2012 02:45:56 -0400 Received: from relay1.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id C62EEA2111 for ; Sun, 15 Jul 2012 08:45:54 +0200 (CEST) From: Jiaju Zhang To: ceph-devel@vger.kernel.org Cc: Jiaju Zhang Subject: [PATCH] libceph: trivial fix for the incorrect debug output Date: Sun, 15 Jul 2012 14:45:26 +0800 Message-Id: <1342334726-28541-1-git-send-email-jjzhang@suse.de> X-Mailer: git-send-email 1.7.7 Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org This is a trivial fix for the debug output, as it is inconsistent with the function name so may confuse people when debugging. Signed-off-by: Jiaju Zhang Reviewed-by: Alex Elder --- net/ceph/osd_client.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index 1ffebed..ad6d745 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("__remove_all_osds %p\n", osdc); mutex_lock(&osdc->request_mutex); while (!RB_EMPTY_ROOT(&osdc->osds)) { struct ceph_osd *osd = rb_entry(rb_first(&osdc->osds),