Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp772862rdg; Thu, 12 Oct 2023 23:56:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEBIoGtvOskNFZTphbrNQZ3ag9PTXCi7xaXNiua3eA4TM2KkdBUpf2A8o58wbdjkPj/BLBm X-Received: by 2002:a17:902:aa05:b0:1c5:8a0e:b01e with SMTP id be5-20020a170902aa0500b001c58a0eb01emr21306339plb.63.1697180191626; Thu, 12 Oct 2023 23:56:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697180191; cv=none; d=google.com; s=arc-20160816; b=u8sE6Do3S9ahY8LeRPSmsuUTYf++RKxxT4liMAalj1bRaqQAB/UQI6K2rsk+p1zggu K7UAwjpNMsulHqDI2X9NKfAU+3wfIc09d10qloi+oRb8Y87btz1H19HmmIEH1fhpbyWG Zm6Pk2fuAt/jyxU/HOc50cFwYG+16HDcLuR4hN06x7vweFv6B0c/ZTrFrDVW0TCcznXF 2skoaj4pXJUzsf9I8+cqQ2O3zU9oJSCCbj7cdl9cLQMZayMB6XJ+V4Dn2so0Lqy+zUf+ TR3+QDYU2Ot48VyoRYJcNDHc/aJZdLEEcNtjALrTC0et46tXLJ3xTiv6iW8UOg+6P3Zu v0lA== 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=kjt1RdasbFYPuIluRG2NQ1IyUgBek66/keG0YRASQYY=; fh=fBkeEUbsF2TCRHmipkpW+G8nkUJp3HBkPJ1hextA5pc=; b=ET4Xr62I2adbkWLzJacK4sKcCU/WXmzHnGvulA7yjBsEKpOPJjxyRmmuL+rKuZbIft Dl2s5zrpRPn8JwsDn3Z1iMZKTPmY56bbn6YeRujo/Tdw8OdG+7Zn72+WneRZacrUnTrU qFm5CEDPO07TrMlvFtwZdnFim95QRZ3F+CgGKvrN546Fh3JqiDvDCevXODWt9DYLEF9+ 35/NJJxl+rdy7HCV3WsY1lodEb8enFctM2oKdQGKPQFplv2ujQzvF6yrnxkQmwoGnBG2 Xw1GgvMiUAFdHrmV6sJORURy5Z7zviGzS42lEkYr8Or83dEj0Aao5aFcvxYthskH8JqZ Qjqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id l13-20020a170903120d00b001c9abd736fbsi4267741plh.305.2023.10.12.23.56.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 23:56:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 14A658087272; Thu, 12 Oct 2023 23:55:56 -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 S229880AbjJMGzj (ORCPT + 99 others); Fri, 13 Oct 2023 02:55:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229869AbjJMGzi (ORCPT ); Fri, 13 Oct 2023 02:55:38 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 61A13F1; Thu, 12 Oct 2023 23:55:35 -0700 (PDT) Received: from wangkailong$jari.cn ( [182.148.14.172] ) by ajax-webmail-localhost.localdomain (Coremail) ; Fri, 13 Oct 2023 14:53:53 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.172] Date: Fri, 13 Oct 2023 14:53:53 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "KaiLong Wang" To: xiubli@redhat.com, idryomov@gmail.com, jlayton@kernel.org Cc: ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ceph: Clean up errors in mdsmap.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: <5722ebe7.95d.18b27d0200e.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwDXaD6B6ShlYt7BAA--.631W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQABB2UlHDMAlgARsv 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-kernel@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 23:55:56 -0700 (PDT) Rml4IHRoZSBmb2xsb3dpbmcgZXJyb3JzIHJlcG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