Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp761325rdg; Thu, 12 Oct 2023 23:20:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG+1+tCHD47QuRgL1bDiohs5Yyc0qLeGGUpGYnrmm2dHcUGnhuUW2l0ag8xyNze9HeVsQSc X-Received: by 2002:a17:90b:4d8f:b0:27d:e1c:5345 with SMTP id oj15-20020a17090b4d8f00b0027d0e1c5345mr5812589pjb.15.1697178033325; Thu, 12 Oct 2023 23:20:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697178033; cv=none; d=google.com; s=arc-20160816; b=OEeBt3qw283XVXSdXTxtM+Z3ShxJCRsHdYmi+G/s5PHDWhVyIeJ4bIu/TZ5IsuYR9l IVzrKZNpYI30d4e//gvP9LjtVDArsOYNo9Au3Oh/8S7BJgCQ5q5NNjFyyWYG0/Ihw8Zx 4DN4OIuqNYz/a2fhw0kpqyPQ4haXOqFwCUqLVHRKFNJmgG5RdZz/21nfxNuqBAQ02yVS UCJcsA9lFjrDf6eb4R/N2Nky7iVXTIoXF3G71B65ZpLZBtA64QSOTU7S3cMnPn9miVYQ gc57m8nZWnB1sQavUrVHVZjVt5g/txBVl+fPgOfc6801JHzc/XvzgDNaxLaE6WQ+tk1H tapg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=ML+2BPw/R5T5Dckge2FJCMDxJm8JE7FuzFsAc8Aqk0Q=; fh=9l6d3OX0zErKvIfdXvQxMGLHy57xGHrBOfDTq7NONIo=; b=iBR4MWtTlcmESMWpbAtn83ye4j+SXNE8Vm5APvRi8lJw4kQjtvrqC6r2iqkTRH7zDU 9Tsjwcq8ceesO+F/5EjpFEBaIFyMhw8SPTZXKElRSkPGx7drDKig98GyGjiGtZqAzHp6 4TBVZ2qVsD5+11ZAdwqU9H+35r9iar7/d+t+OTzQB3xVzZXtrwQuMEih6bXvR8kKsgKp 2NMRzjKIFkvbz+sa9p0gRp/asusp6mjUUn7cvXh34vi/NNsZm+f00chUZVx5xRadvkXi ERV4oTgY8jVs/vAr6tOMJVVEo/T7+1caNFV5rxVgqvVHHt1q5xibOVVCK/COkl/YkUGS SM0Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id r22-20020a63d916000000b0057404ce2fc8si3913808pgg.529.2023.10.12.23.20.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 23:20:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 14E5E80BB1D4; Thu, 12 Oct 2023 23:20:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229699AbjJMGUY (ORCPT + 99 others); Fri, 13 Oct 2023 02:20:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjJMGUX (ORCPT ); Fri, 13 Oct 2023 02:20:23 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A980195; Thu, 12 Oct 2023 23:20:21 -0700 (PDT) Received: from chenguohua$jari.cn ( [182.148.14.172] ) by ajax-webmail-localhost.localdomain (Coremail) ; Fri, 13 Oct 2023 14:18:36 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.172] Date: Fri, 13 Oct 2023 14:18:36 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: chenguohua@jari.cn To: chuck.lever@oracle.com, jlayton@kernel.org, neilb@suse.de, kolga@netapp.com, Dai.Ngo@oracle.com, tom@talpey.com Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] NFSD: Clean up errors in nfssvc.c X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.1-cmXT6 build 20230419(ff23bf83) Copyright (c) 2002-2023 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Message-ID: <5cdd6c2.959.18b27afd349.Coremail.chenguohua@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwDHZD884ShlzdvBAA--.686W X-CM-SenderInfo: xfkh0w5xrk3tw6md2xgofq/1tbiAQADEWUnvzMAJgAIsz X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 12 Oct 2023 23:20:31 -0700 (PDT) Rml4IHRoZ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