From patchwork Fri Apr 7 18:15:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schumaker, Anna" X-Patchwork-Id: 9670109 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BD8A960364 for ; Fri, 7 Apr 2017 18:16:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B60D328635 for ; Fri, 7 Apr 2017 18:16:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A964828637; Fri, 7 Apr 2017 18:16:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3BE5928634 for ; Fri, 7 Apr 2017 18:16:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933498AbdDGSP6 (ORCPT ); Fri, 7 Apr 2017 14:15:58 -0400 Received: from mx143.netapp.com ([216.240.21.24]:55096 "EHLO mx143.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932552AbdDGSPv (ORCPT ); Fri, 7 Apr 2017 14:15:51 -0400 X-IronPort-AV: E=Sophos;i="5.37,167,1488873600"; d="scan'208";a="186183190" Received: from hioexcmbx03-prd.hq.netapp.com ([10.122.105.36]) by mx143-out.netapp.com with ESMTP; 07 Apr 2017 11:03:32 -0700 Received: from VMWEXCCAS11-PRD.hq.netapp.com (10.122.105.29) by hioexcmbx03-prd.hq.netapp.com (10.122.105.36) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 7 Apr 2017 11:15:49 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (10.120.60.153) by VMWEXCCAS11-PRD.hq.netapp.com (10.122.105.29) with Microsoft SMTP Server (TLS) id 15.0.1210.3 via Frontend Transport; Fri, 7 Apr 2017 11:15:49 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector1-netapp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=wVH+jvlS4eBa+xaPjQiSsCrjRm9V453oyAZJccXgEYQ=; b=joXohy45zDiAbPGHzz86Ucd5QgwFXDbdJ+K+VcewI1YBQOTGYuSe+TPlduJNw6cZxTyzYP2pGm67AIOmv4N3FA5dOFidCD9ryySclKJIPyF6pNXlwKAmIgw0Q8pFcSue46NlAC66ZL9xPb3fbsSy5zAm0/c7lYtRN/r/ubwXzPs= Authentication-Results: primarydata.com; dkim=none (message not signed) header.d=none; primarydata.com; dmarc=none action=none header.from=Netapp.com; Received: from gouda.nowheycreamery.com.nowheycreamery.com (68.40.188.1) by CY4PR06MB2472.namprd06.prod.outlook.com (10.169.186.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.17; Fri, 7 Apr 2017 18:15:48 +0000 From: To: , Subject: [PATCH 10/34] NFS: Remove extra dprintk()s from callback_xdr.c Date: Fri, 7 Apr 2017 14:15:04 -0400 Message-ID: <20170407181528.2832-11-Anna.Schumaker@Netapp.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170407181528.2832-1-Anna.Schumaker@Netapp.com> References: <20170407181528.2832-1-Anna.Schumaker@Netapp.com> MIME-Version: 1.0 X-Originating-IP: [68.40.188.1] X-ClientProxiedBy: DM5PR20CA0021.namprd20.prod.outlook.com (10.173.136.159) To CY4PR06MB2472.namprd06.prod.outlook.com (10.169.186.140) X-MS-Office365-Filtering-Correlation-Id: 62ded02d-60a2-4391-a206-08d47de21df0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY4PR06MB2472; X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 3:TmQsN/r3AG33wYUOdIMPUbpMmeJlAw3918qmIuovnQzVElGHVUA2WSidotnaWI31e9QxKr+ZSlXNHISR5kP3kWDshwgPkQDlIu1nORQMNsA858ztXmpF8KS3WxgracUxSjp4JgrlCnt77kVzfnYBgj3otkKWpKFxMVhAW4EbMNZv9jy8BqQhNd4sQDmPCRoAfPrDfsTKgh/hPDbFh35iqgp8s78f6reNchGaoYEdm0hxtcuSFdL1l2n7blwCPwDEFglCiW2nRpqcaBiRT9SNjh6oS1KEon6Z0958cRFKkK/f8iI8zYvL1jXMbdJw1/QGyUZ+BGfld08svc2nsw57Sw==; 25:vSvWNzlEUUlbWcoi0DwOFSSLWY3SRNmHH+DswgMRSScx/S3F/wMEcCqK3dMN0BvlHrBqO1BIvrBXZz1Jpd38MIDGshi2N1ha/FsKpSK4tyJSmAeFM3dyiZ6bz1WWlVEbA4F6nloBT8G4w5Mj/AgO/PFnC0/9SEN/VWshKYJkCdpTr5QDKW9Gk/rhqRor4MHP1glzXkOW1M/o2356MyMwTkP4jlO7lSVA3xLhg8OpdeUnG3Q3fSs+js9VmQmkJxqrGY9Lx9F2+l60YZXTpzGhCESv7+q0Jsl51MNxk7TZmaa1I6R7IShOPqGE/FeFj1+FKi1mIq+IYExd1xB2f+aZIgYLCqnlF0Ibv2++/RSnFHhorDn+nHTkTx+4SHt524/Hyprc77E9gY/TB06tB/R0YWoyHL1XOVcgPTWvBdMZQSKFAPeXsZB+9E1xqlkrSeGXRKtVigikzRZpAJQU5ou/Pg== X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 31:roDMSMYzhXXIpsVpUccfD8rLNVuJr4keD8x+kq6TRh21uNaBw3XGkfHsANJGGD2yKT+z3XFC0PFrRdyf+w/pk7erUvbWEal9/zfjcUnyLOkoOGhmO0d8DX/l2mQSprtcRrQNx6Zt2K0/p7sY3LT6XIwAvXXUFDsY1a5utkhqdqTbgP8lLzQTWmmsors/woexlJdi8FHwxLHy80U2fFwBWPurNTP5ZbaXf45D740l8YV7p53i009+S5XHG6TUCOige3xUTtrSz+AjrrXljZZVU38cbj0BGQ3+zztRCYarGRw=; 20:JlESKdYBQ6kjvKM03QK2gY0kRhTTFlFl1FSNM2uvY1jLt6FQWceNsaVSLfD/Sxks8r3B/pQY+Sn4pWTNaHVbj1PhKymyBNofYaIsotPvuXp4Wrc+bRJTC+pVc+wuBDHwOoMHc+b3813foVomRvk43c6ACX0kkPjRwD195bF5E5kVXXHG35KKxtVu5siMk5o/4YkczxY+ySfRC/WHA4BSqNK0x6c2zsYO9ALQIOHODlhQf8L+tBm4nKzIH9qd0NVv+dz6hbcl75MWy9aulB/Rh9ZRzcJ+K+zqoI7OPe5d8sRsDkTOmgQMp5nzPAM8hnGnG+nGc2uun0Kp9vSAq1+r1Bn1sS017vUxksVmVO35ixtxOxxJPS0IYRioDatcwKrqYKABsW9gabkr/3l9qCdPf2BbA5T5SE5O5AsZcHpx1QrR3H2jL6XLnV7NziA/5W9blQohw77nvpsJyHjlJLzC9WyFPlAwG9DrkRKqRuECqT8auTix6fc/I2qxJDV0Ob7S X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123562025)(20161123560025)(20161123564025)(20161123555025)(6072148); SRVR:CY4PR06MB2472; BCL:0; PCL:0; RULEID:; SRVR:CY4PR06MB2472; X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 4:bsBSsaA0ApuFHKuG2cDTzRXn2jg4cyWLkmdcSUSgRR8NU94b3Dqsy7f7UPzVVCqDPVhK0P2qO4/GCMMloEpS0ultNF5ay5Bu/EMO8NSDHpOJ7et0o2N+hds5CjnxvJ9mr7WQ1NWfhRfx36D8QPueLD/52QiBPWR97imH6nTvWxLwnVZOdQB+q/btoKBDPkMnr9JkiG7xuzcMAX9s0sZQrFnYpU+WjnEPpkrfYX//XonUWe0zBV5sjrczjIsekrROEo6t/6x4F398copwzqOqZdXQm9S7AN9NscxkS26oXh8bGZfU6AnbnVlheBusOmBscF4Rdc4qTuI/SEK4knvmwtbLi4UjjJXW1cXgMZ01MAVoxmI2l88Tgr+bj7y/G2tBtd4da4KlBl1lM7tTgwXZtQvlqEiTOHFTXjocFMJfyZn0xD89gnl4WG6PK31FselSYLyQz8heK28ZPkwONO8sDkQ9AXq0V7lxHB3QnOjcCLfxFuN0zQc8nYRK/IzXMj5fmLvqwTkngpnBL9t4VYXTMiLOnagKYQTEnU8UGDSzzMVBeLPVTHyGruk4/Zr7pq4aj9PQNNeutWOehmyrXmkDeyCCU8GNwNp84jTgDSU7tIo3SVX+wnviNudcRk1fd+L1ScbATKAZj2niRHL838L8IM/mMz4J8ygnJqGYLwkajsoEidtpVJYD/xB7qA3RqGVZmPbaXxcbghjloLpWClzDxNiHkcl6R5vTC1Z2/TV/CcA= X-Forefront-PRVS: 0270ED2845 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39840400002)(39400400002)(39410400002)(39850400002)(39450400003)(305945005)(189998001)(2950100002)(5003940100001)(6666003)(7736002)(86152003)(6512007)(2876002)(6506006)(6486002)(36756003)(5660300001)(53936002)(25786009)(38730400002)(76176999)(50466002)(81166006)(8676002)(50226002)(1076002)(6116002)(66066001)(42186005)(2906002)(50986999)(47776003)(86362001)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR06MB2472; H:gouda.nowheycreamery.com.nowheycreamery.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-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Phh0PzB9wyjMrIfttvtlgXs8SSUUIufd2+RMh?= =?us-ascii?Q?FxIlyAlK5J2Rv46jQwi71RQbIR3ZULsV2ZzjsUC3EZF+OOpxdgvLIh0VOae+?= =?us-ascii?Q?T+dlSA/t268gqHinGzfORzZByio5zTBH4X16itnng=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 6:ugiIw3yFpZPM0lx4qsn1TxH0Ajo7281HqyYhFGY1bDZrnN38QHXaBw9x7DIhVrg5W+wgwMjXy5SkUE+GyOZIgqjfL7kfawVwGtgEKImCk4AY8euPRPK8Ys/OkmDnkD/Fyas2KqEg4w1VSMQ+hQIhSCBzwLeR4A+hp2qDd4YyFdTdXOSgEaalirUkdTOdoJS8oPUPba2KaVDWPE25GsAl/P6Zsp0M9S8AUrPFy3SjIbJ7XSI1jPCQtEqifo4YpLHbjQ3sEI/BSENMGozOzTCLXyn5d/lJ/iD71US94qCPfiyMXPdSTEJYsSfZsnGElLbeKKR1tkPbtN/4+TETM2qzx0LtX00PLaeYygn9nS/5uVht7Sfnky0AWZpCmPwdYkYo6hYPl5FBsh9nQvyAN8d965P97nP6SIEVecg123vJoYsyiOBBXbhki5ET0rjr5qwbSGsffMqxq7oR1nLRUoLlIw==; 5:gYvSSh9vHjyH8Vyc8g/9Mzj7ls+Haoi1rqbsip/hWDqjyEeiCiNX6ZLzvo/+/rfzHRSDVvwyaEtJuMm3nuhTvsC+v+oQ+KedY5Fo/Lw8Ye0HQeEtU0414DPzSPfVOX2p2FtIOGK+bPsN21XiuIgfMA==; 24:jb2oBRq0WT8Df+MOSS3sFaxzmA6Qw1YO+y5vZTCOEuXZRRTrgUkni+1b+rQ+pArLQME/AGsKGCd7tgu8819qptkhMZxC11rhCHPxrVboriw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 7:tPsMMsAxDQgM/AMvAx7vNjTwz9QOnUn3wNXzARoKkqUUKdFllPPJ4MrY/9Zn4i3j3/HuW9+hx+d/z2mjbCE9PLawtdfe1qpFrY6L/sKBh49HGEn6HPgIMprt4++P8Uf/WmllwqUr+xBkBkbqSUGatKZYbbpdkgPWjnjve8T/DDSvAzf9crtm2Ojkw2UYAvBibwTfMBTuLqrtrdqfe9b5hT38mxCinsp0Dv4vxjMdD9FJ7VZe/I0NGebMIDg0KT8wPvvQ7u7yKtRSIDIljlEaBVb5E49kaSp36yG0Pln9akQolwTp7ZPFTRRGG11rBHiUXg7m2lxBywq840n7MYASbw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Apr 2017 18:15:48.1590 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR06MB2472 X-OriginatorOrg: netapp.com Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Anna Schumaker Signed-off-by: Anna Schumaker --- fs/nfs/callback_xdr.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/fs/nfs/callback_xdr.c b/fs/nfs/callback_xdr.c index e54e697340a4..c14758e08d73 100644 --- a/fs/nfs/callback_xdr.c +++ b/fs/nfs/callback_xdr.c @@ -171,8 +171,6 @@ static __be32 decode_compound_hdr_arg(struct xdr_stream *xdr, struct cb_compound return htonl(NFS4ERR_MINOR_VERS_MISMATCH); } hdr->nops = ntohl(*p); - dprintk("%s: minorversion %d nops %d\n", __func__, - hdr->minorversion, hdr->nops); return 0; } @@ -665,7 +663,6 @@ static __be32 encode_getattr_res(struct svc_rqst *rqstp, struct xdr_stream *xdr, status = encode_attr_mtime(xdr, res->bitmap, &res->mtime); *savep = htonl((unsigned int)((char *)xdr->p - (char *)(savep+1))); out: - dprintk("%s: exit with status = %d\n", __func__, ntohl(status)); return status; } @@ -827,14 +824,10 @@ static __be32 process_op(int nop, struct svc_rqst *rqstp, long maxlen; __be32 res; - dprintk("%s: start\n", __func__); status = decode_op_hdr(xdr_in, &op_nr); if (unlikely(status)) return status; - dprintk("%s: minorversion=%d nop=%d op_nr=%u\n", - __func__, cps->minorversion, nop, op_nr); - switch (cps->minorversion) { case 0: status = preprocess_nfs4_op(op_nr, &op); @@ -873,7 +866,6 @@ static __be32 process_op(int nop, struct svc_rqst *rqstp, return res; if (op->encode_res != NULL && status == 0) status = op->encode_res(rqstp, xdr_out, resp); - dprintk("%s: done, status = %d\n", __func__, ntohl(status)); return status; } @@ -893,8 +885,6 @@ static __be32 nfs4_callback_compound(struct svc_rqst *rqstp, void *argp, void *r }; unsigned int nops = 0; - dprintk("%s: start\n", __func__); - xdr_init_decode(&xdr_in, &rqstp->rq_arg, rqstp->rq_arg.head[0].iov_base); p = (__be32*)((char *)rqstp->rq_res.head[0].iov_base + rqstp->rq_res.head[0].iov_len); @@ -933,7 +923,6 @@ static __be32 nfs4_callback_compound(struct svc_rqst *rqstp, void *argp, void *r *hdr_res.nops = htonl(nops); nfs4_cb_free_slot(&cps); nfs_put_client(cps.clp); - dprintk("%s: done, status = %u\n", __func__, ntohl(status)); return rpc_success; out_invalidcred: