From patchwork Thu Oct 4 14:21:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1546621 Return-Path: X-Original-To: patchwork-linux-nfs@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 72CDCDFFCF for ; Thu, 4 Oct 2012 14:22:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964945Ab2JDOWB (ORCPT ); Thu, 4 Oct 2012 10:22:01 -0400 Received: from db3ehsobe001.messaging.microsoft.com ([213.199.154.139]:25908 "EHLO db3outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964793Ab2JDOWA (ORCPT ); Thu, 4 Oct 2012 10:22:00 -0400 Received: from mail43-db3-R.bigfish.com (10.3.81.233) by DB3EHSOBE007.bigfish.com (10.3.84.27) with Microsoft SMTP Server id 14.1.225.23; Thu, 4 Oct 2012 14:21:58 +0000 Received: from mail43-db3 (localhost [127.0.0.1]) by mail43-db3-R.bigfish.com (Postfix) with ESMTP id DCEA0A0130; Thu, 4 Oct 2012 14:21:58 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1202h1d1ah1d2ahzz8275bhz2dh2a8h668h839hd24he5bhf0ah107ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1155h) Received: from mail43-db3 (localhost.localdomain [127.0.0.1]) by mail43-db3 (MessageSwitch) id 1349360516996261_22831; Thu, 4 Oct 2012 14:21:56 +0000 (UTC) Received: from DB3EHSMHS003.bigfish.com (unknown [10.3.81.229]) by mail43-db3.bigfish.com (Postfix) with ESMTP id EF80C40089; Thu, 4 Oct 2012 14:21:56 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by DB3EHSMHS003.bigfish.com (10.3.87.103) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 4 Oct 2012 14:21:56 +0000 Received: from az84smr01.freescale.net (10.64.34.197) by 039-SN1MMR1-005.039d.mgd.msft.net (10.84.1.17) with Microsoft SMTP Server (TLS) id 14.2.309.3; Thu, 4 Oct 2012 09:21:54 -0500 Received: from fabio-Latitude-E6410.am.freescale.net ([10.29.240.141]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id q94ELlX7006185; Thu, 4 Oct 2012 07:21:51 -0700 From: Fabio Estevam To: CC: , , , , Fabio Estevam Subject: [PATCH] net: sunrpc: xdr: Change message to pr_debug level Date: Thu, 4 Oct 2012 11:21:35 -0300 Message-ID: <1349360495-29325-1-git-send-email-fabio.estevam@freescale.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-OriginatorOrg: freescale.com Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org commit 49f6189 (SUNRPC: Optimise away unnecessary data moves in xdr_align_pages) has added a pr_info that floods dmesg when booting via NFS. There is also a note in the commit log: "Warning! Contains debugging printks!" ,so change it to pr_debug instead. Signed-off-by: Fabio Estevam Reviewed-by: Marek Vasut --- net/sunrpc/xdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c index e30842b..6983efc 100644 --- a/net/sunrpc/xdr.c +++ b/net/sunrpc/xdr.c @@ -749,7 +749,7 @@ static unsigned int xdr_align_pages(struct xdr_stream *xdr, unsigned int len) xdr_shrink_pagelen(buf, buf->page_len - len); xdr->nwords = XDR_QUADLEN(buf->len - cur); } else - pr_info("%s: Optimised away a data move!\n", __func__); + pr_debug("%s: Optimised away a data move!\n", __func__); return len; }