Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp706343rdg; Thu, 12 Oct 2023 20:25:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGPzltaHzbWDQJ9fRBqbpNRQLtp5qpxa+m9IfBiRBj1UteKS/pqUxR2P+New+QGabIHOEDz X-Received: by 2002:a05:6a20:160c:b0:163:b85e:6348 with SMTP id l12-20020a056a20160c00b00163b85e6348mr27442274pzj.39.1697167531302; Thu, 12 Oct 2023 20:25:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697167531; cv=none; d=google.com; s=arc-20160816; b=JCd6tMp2TdQbDmoCrEY7KT0GN0jj31BnYGp9FsceWnDujPt3bfalLf8KhYSMan2tFu AiBswmNoYfni55rW3FK1H2WGWNnx3OjtquooHoZWZ7YG3bQ9qG2eRuVVDSq0bdKPWhbw nrxABCJ8SMeVEZLQxbOiq/ycXuCbGDLxfDjxnjXQJPbBxToyJExMl3Fsx0gvN8dkdrZC ge7o6geABdcehWAANHcJk9k8TA/s/byBpkHK3/AKxgyOr+5KEVFXbNHp2FQTxd6oiTdM dMzAQ1FFeDzaVZ+Dj0A8qsdDeqOFQ69DeGsXMfksD3PTekybvz6lIoVKOZlu5gL/bCmP uOIA== 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=gu8ShDn4R55eBpgOA9cEdaQAmkYr3+O4apYxroxEhng=; fh=qtATRhvsCwLRk435lQuaO+jvxH+0VF1jCIUJOfIyCBw=; b=HaAZoBw99gzxDaoZLS/ITKANzMvUtsOTf0iJat8iLELTCqSZJb+ZPenjxYGbrYQhpQ T8XeuWRNk0Cwnltf1vFDljXcnc6f89w8r5Qs4iZ1H10Rpqtgxv8J0///LcE33aF9ltLS GtaMcmmLNx5P+TA8XXYa4GUJX4qe71HD2vARAFoTFKeCqtLD81wFkkn88+SSbTfo2zuZ PAqK5JyHUCxrmPcRXN+uqhlVUaXgSrC5lT14ysb/Q81xlJV7yzFiDY544nRst4uihEsR RP5NOS32fBtc/G6aGAzydIpolkn+HdwxkCNqIeSyEHVSAiqpt8QhStWljAPNmyOgSqfd 3b8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u12-20020a170903124c00b001b9ed021929si3747545plh.225.2023.10.12.20.25.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 20:25:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 5052E828CC06; Thu, 12 Oct 2023 20:25:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229445AbjJMDZZ (ORCPT + 99 others); Thu, 12 Oct 2023 23:25:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjJMDZY (ORCPT ); Thu, 12 Oct 2023 23:25:24 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8CBAFA9; Thu, 12 Oct 2023 20:25:22 -0700 (PDT) Received: from chenguohua$jari.cn ( [182.148.14.172] ) by ajax-webmail-localhost.localdomain (Coremail) ; Fri, 13 Oct 2023 11:23:40 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.172] Date: Fri, 13 Oct 2023 11:23:40 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: chenguohua@jari.cn To: trond.myklebust@hammerspace.com, anna@kernel.org Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] NFS: Clean up errors in nfs_fs_sb.h 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: <11c6beae.946.18b270fac0f.Coremail.chenguohua@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwDXaD48uChlgdjBAA--.623W X-CM-SenderInfo: xfkh0w5xrk3tw6md2xgofq/1tbiAQADEWUnvzMAGQARsV X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VW3Jw 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Thu, 12 Oct 2023 20:25:27 -0700 (PDT) Rml4IHRoZSBmb2xsb3dpbmcgZXJyb3JzIHJlcG9ydGVkI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