Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp773777rdg; Thu, 12 Oct 2023 23:59:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFUEhflAzdnEdyN6BofXmjRZLR1pK7TlJ8XclJuIE69JG92sNPbcckjgkSIGM4yfsPG7GTt X-Received: by 2002:a81:9a07:0:b0:5a7:af46:d79d with SMTP id r7-20020a819a07000000b005a7af46d79dmr12045889ywg.43.1697180375116; Thu, 12 Oct 2023 23:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697180375; cv=none; d=google.com; s=arc-20160816; b=Q+2RTcOC6yXntcUL2X3K4f7+SQ0WATHkFiiae2KYFQ18bTE2MB+8yd0gC2JGl4TBfG 6Fdo6pYbxis4W5SbVNtHH9aU4qqWF05o4WUlMQDzCYgcvbiceGiximaKcvh+Nk/GjjNs F5krpf6A/khfg9ozAE04z8f4Pnnw9yxoWCnbNW8jUk7gJkRRtSEkv8u0F5Uw9C2rXcxJ +iKKHbsLhCvqISySRSJBigBOdFHvv3DjxwCFZfs9cs5xhKTzh/ldJwGXFRfH28OqZ506 8fwhguFMJr+yexazy49rXRtVf/OvjvYrG+bf9ILS9EOaJAaWJNYObIXhiANvkb2PTlfI zPiQ== 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=cSOmrESwLeOhg15ZhfpeJ988GJ0Aj/UHvv6Q7Yvh8Kk=; b=megGNSJlapYq+VL1IID1njrgJv/2a0Y8z9KNG58st2B1rYYLuuzXbz8nLGySfF1Zod SJwLcDR3yp3OESa6A9U53Yph8fyeWsii6EAw9k89xf9/6F7vXTL5YtTIequWiQatFNav 24lkmYXT5lNa4GuQSXYUUoUeMy9erOo2pisKdIY5m235Y+l1za7zlSro31x52t5RAzAI LUQKE1c9JqWstLHekSK+aFWuVruM9LtW9P8y0qlcHZ7gPps6I49+ZCRKlcGPc/27w8pV jzS5VcY2H7iJMit0w6LZB0CkIaUMGXKVLWzLzxnNJLv8kKLU4SVjZG7FjbpH4p+E2wVV uBMw== 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:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id b1-20020a056a000cc100b0068c7033a5f5si16733795pfv.74.2023.10.12.23.59.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 23:59:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 43D2C8096B8C; Thu, 12 Oct 2023 23:59: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 S229809AbjJMG7X (ORCPT + 99 others); Fri, 13 Oct 2023 02:59:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229692AbjJMG7W (ORCPT ); Fri, 13 Oct 2023 02:59:22 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0AC2991 for ; Thu, 12 Oct 2023 23:59:18 -0700 (PDT) Received: from wangkailong$jari.cn ( [182.148.14.172] ) by ajax-webmail-localhost.localdomain (Coremail) ; Fri, 13 Oct 2023 14:57:36 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.172] Date: Fri, 13 Oct 2023 14:57:36 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "KaiLong Wang" To: Jason@zx2c4.com Cc: 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: <265b0c47.95f.18b27d38985.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwC3VUBg6ihlcd7BAA--.669W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQABB2UlHDMAlgAVsr 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:59:31 -0700 (PDT) Rml4IHRoZSBmb2xsb3dpbmcgZXJyb3JzIHJlcG9ydGVkIGJ5IGNoZWNrcGF0Y2g6CgpFUlJPUjog ImZvbyogYm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