From patchwork Wed Jun 1 13:37:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vasily Averin X-Patchwork-Id: 840192 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p51Daqu5010413 for ; Wed, 1 Jun 2011 13:37:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752037Ab1FANhK (ORCPT ); Wed, 1 Jun 2011 09:37:10 -0400 Received: from mailhub.sw.ru ([195.214.232.25]:16339 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751766Ab1FANhJ (ORCPT ); Wed, 1 Jun 2011 09:37:09 -0400 Received: from [10.30.3.27] ([10.30.3.27]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id p51DctJS022684 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 1 Jun 2011 17:38:56 +0400 (MSD) Message-ID: <4DE64082.4070604@parallels.com> Date: Wed, 01 Jun 2011 17:37:06 +0400 From: Vasily Averin Organization: Parallels User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: linux-nfs@vger.kernel.org Subject: [PATCH 1/2] sunrpc: use dprint_status() macro in call_decode() Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Wed, 01 Jun 2011 13:37:11 +0000 (UTC) From 9ece70e996409e91371275319b3bf673e25916e2 Mon Sep 17 00:00:00 2001 From: Vasily Averin Date: Wed, 1 Jun 2011 16:23:59 +0400 Subject: [PATCH 1/2] sunrpc: use dprint_status() macro in call_decode() common dprint_status() macro is used in all callbacks but not in call_decode() Signed-off-by: Vasily Averin --- net/sunrpc/clnt.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index b84d739..ab55369 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c @@ -1548,8 +1548,7 @@ call_decode(struct rpc_task *task) kxdrdproc_t decode = task->tk_msg.rpc_proc->p_decode; __be32 *p; - dprintk("RPC: %5u call_decode (status %d)\n", - task->tk_pid, task->tk_status); + dprint_status(task); if (task->tk_flags & RPC_CALL_MAJORSEEN) { if (clnt->cl_chatty)