Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp752431rdg; Thu, 12 Oct 2023 22:57:51 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEVe9wsVwGpXEeDQA7nG3MCD0sKv/XIn9EYvs+S3WYuV7q4nCDy7IkkJrhemMRgMZPyLUo0 X-Received: by 2002:a9d:6216:0:b0:6c4:da36:f949 with SMTP id g22-20020a9d6216000000b006c4da36f949mr28962216otj.8.1697176670782; Thu, 12 Oct 2023 22:57:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697176670; cv=none; d=google.com; s=arc-20160816; b=JReiYCO98eOrS8KXlMoz86CYBvfSa8SacqUjw+gsqoxI/mZj4nzBR1nNjEY673wwFV ZjKF/C2gu4DTKgSkY7YIObT4xYJRaGKQ4q+aRnpKwoR473FNpci4tpZtas297ACYFOI+ yH10I1ozC+4IoMdf2Lv7oPpOPWp/7tpuWEfUk51isFfY6k0HG9/zfaZYBaDBmB4+1AHg uulngclCpxiXWMTGJ6jsOWL8VhqyOZ1cBQojWxnjZUOkbqLJsxJOeD2lP/zb1QLxyifc vOU+/fvcK1HHw5DSy03l4cnHdrjJ90E1QKfg6a1t51we7eQU7PN1Kzg7lCTKbtMuZf2d gL2A== 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=dTdhaef8Mj/Ojn5kQg4wWO6yN+dqMalgGU/FHBGaKX4=; fh=j1Z1KR/5sklIyFMLvzKAPx9j7HOlhLLoDaYQb5fj3xc=; b=ch0RYOF1lpFCmtgMzoyQ2uef1oVPYbMSbXd5l7IGy+01QrDWcVrRezrbhBi8e818qb wNq0WbBsl3s9/I36Ss0jcTUHwlS+fxRv687imiTVgT2dJtKtz3z3PUaml14YdmfOmpHs aoI1ynJqUKDNs2IV9BmV1YqH17Cua4HUnKMbQAnXwoOEA5upeNQeLkh/6v97VgvMzT5A Hkc4KYGhN36pnjJJpOwGzTL/EKq3XMHZotS7qhLXnlMTdSouu4zKhZ5+MGU8i35HJyow amvNxcbvW0qKAxlb75MH9jWP88Vp1nVscrkko/Tvud3Dg8wLY78WTHtpPC3FtQnDi2pG Chqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id e65-20020a636944000000b00578b26be643si3860020pgc.606.2023.10.12.22.57.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 22:57:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id B6C678089860; Thu, 12 Oct 2023 22:57:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229632AbjJMF5p (ORCPT + 99 others); Fri, 13 Oct 2023 01:57:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229694AbjJMF5o (ORCPT ); Fri, 13 Oct 2023 01:57:44 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A43ECB7; Thu, 12 Oct 2023 22:57:40 -0700 (PDT) Received: from chenguohua$jari.cn ( [182.148.14.172] ) by ajax-webmail-localhost.localdomain (Coremail) ; Fri, 13 Oct 2023 13:55:42 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.172] Date: Fri, 13 Oct 2023 13:55:42 +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-kernel@vger.kernel.org, linux-nfs@vger.kernel.org Subject: [PATCH] NFSD: Clean up errors in lockd.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: <96b90fc.952.18b279add15.Coremail.chenguohua@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwBn+D3e2yhlSdvBAA--.687W X-CM-SenderInfo: xfkh0w5xrk3tw6md2xgofq/1tbiAQADEWUnvzMAGQAfsb 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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 12 Oct 2023 22:57:46 -0700 (PDT) Rml4IHRoZSBmb2xsb3dpbmcgZXJyb3JzIH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