From patchwork Fri Apr 7 18:15:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schumaker, Anna" X-Patchwork-Id: 9670135 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 6F4BC60364 for ; Fri, 7 Apr 2017 18:16:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6834D2862A for ; Fri, 7 Apr 2017 18:16:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5D43428636; Fri, 7 Apr 2017 18:16:16 +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 09A5B2862A for ; Fri, 7 Apr 2017 18:16:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932731AbdDGSQO (ORCPT ); Fri, 7 Apr 2017 14:16:14 -0400 Received: from mx143.netapp.com ([216.240.21.24]:46795 "EHLO mx143.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933804AbdDGSQC (ORCPT ); Fri, 7 Apr 2017 14:16:02 -0400 X-IronPort-AV: E=Sophos;i="5.37,167,1488873600"; d="scan'208";a="186183208" Received: from hioexcmbx04-prd.hq.netapp.com ([10.122.105.37]) by mx143-out.netapp.com with ESMTP; 07 Apr 2017 11:03:43 -0700 Received: from VMWEXCCAS01-PRD.hq.netapp.com (10.122.105.11) by hioexcmbx04-prd.hq.netapp.com (10.122.105.37) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 7 Apr 2017 11:16:00 -0700 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (10.120.60.153) by VMWEXCCAS01-PRD.hq.netapp.com (10.122.105.11) with Microsoft SMTP Server (TLS) id 15.0.1210.3 via Frontend Transport; Fri, 7 Apr 2017 11:16:00 -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=xE+kU8McoPQCSP3BaTSPsscEp7WpLBqQeRLqYDiwQKY=; b=jo8OD6oGDVU1n/VvEq4S3I+U9LzErVYyc+dkSjM18nufJpxxyWMqPXR2epPDsDYqcnbS4r1YoQzcCXFp1oaUa8ffkQ2PwbKyZcMMYqguHu89NfyjB2VqGvR8qLlLJ4tshyDERFB/SZeOSi6DaqcSRgGrVQxSysHBPkuy2viV1YM= 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:58 +0000 From: To: , Subject: [PATCH 25/34] NFS: Clean up nfs4_get_rootfh() Date: Fri, 7 Apr 2017 14:15:19 -0400 Message-ID: <20170407181528.2832-26-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: b8678fb5-0472-4162-8fab-08d47de223d2 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY4PR06MB2472; X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 3:ui7WrlMll8pc/MlWQXovykCvBCH5w1q2PfbCvU5rWg0DUS2gD1YUfl6OLuMxkhhEVNQZ/a0k9Cz03zD4xotDzTv5uP4sipbWGA/FEE+VMQA5Qw9NVQ+EJ87efXUVFLk4cKVzS2ESdzg5cmUdZi9lM4V8xO51PqfT9RTeuQldGl5pj866s57rmA+kI5EFQUGq2+990GAProLLivTpUjb1Tx138tknnFbRvvjWvjGYsgrOmUbaHo0+Ya4umqswnsGQL3yQHqykBiGubp88ViSIu2f0cy2jZJGBjJZss4XzmTXBTbAVd45BPUd+yBAoo8ps88vgB3XBleTLbjzVXP6S5A==; 25:hGOTCUUcIGxgSRk4ZJtGJU8ap/oj44GrpRCNp4VTbAdmmG3A8/EjnpHG7k8Aqnb0yqyMAPz02wvuglC/Eba2Rq37/7YnVMT1Y0wqT8tlo2eSCZjJMtIg4J7aHfbHJuZADAiYTzXEnGdSik+Gw8wai9PpRsT+4xi1uqlE+Awv6ry7U5aDMZay8JBsWrwvPQ1w9ytnlhcw0PH7VXcGfSBB27+aqScQzrFozijB5GnWFhoLh5qhYGB++Fj2I1oycr1cPw5ltfLXfUrVUE5c8x1YF2YwLyNcQHFPnIa4RBpRxewC46F/ClkBrIBQmB9N+z0t0Wp4zjR46sMO1UJ1el3O5HkHoYrHhNL40nNilKvrzwjMkXDY7b1tzw6nxtgxbokc2OdhJBJ+Rz9pkp3Obs3O/ecmiTt9VgXtA0d6fyOHO7H46sogZI7XdN7ba8Wr6AF2hEZHRX06h/66HLesVizFsg== X-Microsoft-Exchange-Diagnostics: 1; CY4PR06MB2472; 31:wdbJD9vU9qVbxfshtGLDwpjM83vkg1p3z6KI21QPmOFUZC4uKEn5LlkBT/AxF5zBDOzzHJbYgVHDNIOp8QeBHT5zhw3JZ7AqlqsJt1JVksL2Vq0NhdIuWlFLwrns1zEM/mfw6+rV9GsFaYd9h+IVsef3u/pbmQZNLxYttuaQWElxeCUkYtDb8d+ocTp2ererJKouKACK0KYlVo2d9NKC4A/A5wNbMZDIwmUe2HTzqdDEcHGyelT6Z/gKtg1Fuh4STZufMlJuT6R7rcvL9RbAGQ==; 20:qVO5F+/Yu3Ms7rMIuofd1Fec4MVSvOQF7N3HggIla9F4cF+WlSx7aH50qfDWcgNfU/VCkUTlhQz/uG55W7BePLe2xEW5O8gb8HyrkFQu1iGcoUkhwHzVYV/t0Xzn4Exbudsk9FkTxroGiPjjygQ+YaSt/uGrJN/529CaqFijYIyMiclW8FZAP2dmFfUmsWdBmlEh1XcA0sgVHrBp631VhrTQjVLFRkKVCI5sGexz8uU5hjEVEsvCP324fixi2BqR4Q0LDJ+4i79lCUQoFW/q+uSdos9SH/8PeWP8GJ8/JMJVuq5OAbHPPaoDQubeGCSU2GQGYPIGdmO5kajFdYSK7IgPifmq86Gwj2vTxJJrRvVn6GVUEyZ6ySGlCgxiRIxxV3cu0jN/D0RMuli4btPtaeINNeR9+s+1Ah37X/39u4I3Yyr9k6lNb8Et8c7/eghlnpER9xcQKvF/ds/64QRbUCFYiGqcE3Dcgo/mzymMFUm6fm0s9c8LDlCHStUde+Dr 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:NPpRQ4llH07XycP+1abSVPE/OdBSnwMJmmw5Ys7YhOemWK+0LoUJwyga5WEy/d52RbEJAWZTJZmG6ZmWa1z74UwIYqoLlwltrFL4BAy+TzVhBoo8MYNaAb+K+wkVhwbpc3BDmiGzCreIQdrhAl5uCKMwPcXCQ0hT1IGBfcxrSnN415z4tKF4s11iCr6h4extQuHhlaATDgkJauvNI9Mh+5rfax9iIpEgfYQKdQmekgQSC188o1CTjimSXLyRQAlSHfZNeaZ1ZANdc4vGgLZIMt6CUGhjzrmk/ZCLxhcJpD16EDaoVFBduu2+z+jQeBU4aPNMx8vgMmfStu5uyjjgHZQTJC2qkiuinjOv8tWYU0PCkIjjDgCSM6xKiTXodbGqMJzfX9UUwJjLoplKbfPdXViE7FwZ6ROxKGHY6EF08n4eIdL7HRpKm8BLXaWj2E0ci1o2N+NDQtOkOZ7Ce/nNfdiK0w/uw4I3RurkXEMh2JFieBl3311f/wrzBQW3QYD5G3PRO6E6M5j8z7xkjaBNPC68VJTu0w9iW9Qf0OTF8s5gv7jEh7FI429eJA1mgNUWsPEVMJwA0vOmdoGyZlia7jKJiXzrl1naQqCoLRJu7XUF/dx8RxpO0whgnQgootOVMQ5TY7q1LQlfhiWZFrYPhnuNSDP6LWdXtG49inAi9rPRHPDT6L2Da7Lnckh+3Bj+hDDWL1LOjyBwbh+IEvwb0F70tNGAjgDS5Zc6GqWmnMU= 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-Diagnostics: =?us-ascii?Q?1; CY4PR06MB2472; 23:ZiDRYzCv0aeY+uq4uQ3ckLErLngmbjDGKrDo02oYV?= =?us-ascii?Q?z1iYMlJLJP8cbCgVsyeHanPIH5sFOE48FpjNoAurkjmuIB1KIQhUEbTR8JGu?= =?us-ascii?Q?qw+Jjo8QRG+T05XKHcx9VWFtcKtxK6rarhTHvmiSjWyWjdbC1rGs0+YxwX8m?= =?us-ascii?Q?P79dLlH8FtToJlxZd5kCtSenUWk202Ng0bY4ojYltLyArjFDYjojCuJfKkgb?= =?us-ascii?Q?RJPEGQ43D4QZBAvktJYeQHZLKP6TV6Bla1tVcoPa+wAwMrobVh73z1Jjb0hu?= =?us-ascii?Q?42KW+ojfxuqWt+rV8lQF02yihJ1O7UciYRYUFbLWL4OPlnVbejPcjdRTVN4s?= =?us-ascii?Q?6Vu5J9EdCIfkJz/xifgmvV8YYlDui4qISbfBa8lo+IrUL8Vhrahv7w2RUMN5?= =?us-ascii?Q?N8mIgs29ubqDyLwvE15svG6qosboTI27kNNv1YqdFpBSWSUpVzp9RijNDLyB?= =?us-ascii?Q?M549of0L7XQk7e+nHKTFahd1sPdXBrJcPnaW8ZahqfTVKQtFn02aFKAPEfqU?= =?us-ascii?Q?AnQVMKOxRNVx5PkEP/yE6PiM6ePdOT8s0hPhMmGSy4vPzp/kNz75M9CJkeGd?= =?us-ascii?Q?dJL5n2RocaVp0dVUqdIEE9bKKV8j8FuwbXzLmRjMP2iXXOjaUPlkclXVmx4n?= =?us-ascii?Q?2ydOsGlANkgmslHnpDjWud7UXPBV9tsZmMCCO0qx4kkX/z8sZ6Pg9NFy6hfT?= =?us-ascii?Q?c3x6rX5RBDLZdPITndUJVKzrW7Qhmhexcyiuf47oUMfmjFl3y8lNAT/ubJ6P?= =?us-ascii?Q?agXfdyghYwY+TFwOxs4MPRuYWUUzGrdi6nFDLX6tEjh4xWL7FhuOLZAhnOux?= =?us-ascii?Q?1hpjd0NRGh3s9XHNc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Eluuhx2XrP4oGCAwrx+OIvAhsquQcnCPu7zFB+hbGt7MmX0KdE7TLNsc+18tKhFJ6By0z7qJa+HFAp8Lu7aN8jgJRR3DWTeoaIpKMuUuTT1dF8XUAgHjjQakrCn8Xgtd26xfocxoUMHfinE2gvr2rpEvRMKIbpC65ugSaWm8P+/Cy5VaXYV8aQzz4E7Pm7R/aWkMCqRBDxb4Qry9w6ZD2FkmpvjAJrquo9QJJ9GHKg11D821uyKE9ribHGUFSfKJ1dkRqKZmX7zXUpbvkqfzSSua8SN/gfks7cVGIsUeTbL1bL7/xAUQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Apr 2017 18:15:58.0322 (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/nfs4getroot.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/nfs/nfs4getroot.c b/fs/nfs/nfs4getroot.c index 039b3eb6d834..ac8406018962 100644 --- a/fs/nfs/nfs4getroot.c +++ b/fs/nfs/nfs4getroot.c @@ -14,8 +14,6 @@ int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool auth_p struct nfs_fsinfo fsinfo; int ret = -ENOMEM; - dprintk("--> nfs4_get_rootfh()\n"); - fsinfo.fattr = nfs_alloc_fattr(); if (fsinfo.fattr == NULL) goto out; @@ -38,6 +36,5 @@ int nfs4_get_rootfh(struct nfs_server *server, struct nfs_fh *mntfh, bool auth_p memcpy(&server->fsid, &fsinfo.fattr->fsid, sizeof(server->fsid)); out: nfs_free_fattr(fsinfo.fattr); - dprintk("<-- nfs4_get_rootfh() = %d\n", ret); return ret; }