Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp776631rdg; Fri, 13 Oct 2023 00:05:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHDoDfOYTToLO/7wN9CQk7lnXvMIeb+/idAoTtn31Alq8qbYpzhk2cl0VoHGRE0eW7355V4 X-Received: by 2002:a17:90b:4c87:b0:276:fd4c:c20b with SMTP id my7-20020a17090b4c8700b00276fd4cc20bmr24253750pjb.5.1697180721932; Fri, 13 Oct 2023 00:05:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697180721; cv=none; d=google.com; s=arc-20160816; b=wNKPN5QsReMykDoLp8HsIcdzwukKn+mGW5qi6nALJ+cyB6cmPppirOR2m6rdPTxOjZ EUrtNPXX92WgY1I7mcMtr23eyIwcS6gvifwFf3ZKjCNOkWFAWpVDTtz2QmUh3M2pNJmO X4hyew8BTUhX6k/aJk9dgxoPePGBp7gSxq7ntp3l9XNF3N0TYatZfUSKjH0G8VD90MvB uC5iaXsPxH3rooIctpd77gzICNTHdToJQo8BmpA7mLeKuufvwUgev5mnSsp8+aZL8uTZ 1XhB7DFbT1PELmyU4RouL1pFEOm1A+6LHakwE3tV70uybrkehTM/fr5X0WGInr1ySnnA AOXg== 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=/Mjf7FH7gF6Ds1ZjEDvyW8NHCvKCNuIRuwnHbvCwxCk=; fh=fBkeEUbsF2TCRHmipkpW+G8nkUJp3HBkPJ1hextA5pc=; b=BSV77LOcc6zBcLCl9pWQY2abkRT2s/K99ZZ0xa4WwWRlLAKzjYRlkcY7qOxKnavoCa /OBgggfM+vYsR8lqn5hyqqHfGQFxgyBLjBOuajf3IqKU6IzwaYt3KSEjF+n7Ibl1dmVm qErhG+8h/F59dD5NO8BL9vltrULQ2Ncb7V1ArPCr8bO+F+LAFjiLCgAFMrjhaOsQwCw+ qT9LezQOsjfR3eDwVmHV8InENxYNXnh/4z6M4qENHdFV280iojq4kV6cFRDNtZ/brCcR g48tdsrCuarNYyW/5vaelWlQcrLNbSkLnJNIrXwNgXeKzca9pA/qOTBxBCrI10xpVLlB PuzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id bv8-20020a17090af18800b0026ceee6848asi3779924pjb.180.2023.10.13.00.05.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 00:05:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id B581F826631D; Fri, 13 Oct 2023 00:05:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229843AbjJMHFE (ORCPT + 99 others); Fri, 13 Oct 2023 03:05:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229692AbjJMHFB (ORCPT ); Fri, 13 Oct 2023 03:05:01 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6DDDD91; Fri, 13 Oct 2023 00:05:00 -0700 (PDT) Received: from wangkailong$jari.cn ( [182.148.14.172] ) by ajax-webmail-localhost.localdomain (Coremail) ; Fri, 13 Oct 2023 15:03:18 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.172] Date: Fri, 13 Oct 2023 15:03:18 +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 locks.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: <5bea2493.963.18b27d8bfb6.Coremail.wangkailong@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwC3VUC26yhlit7BAA--.671W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQABB2UlHDMAlgAXsp 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 groat.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 (groat.vger.email [0.0.0.0]); Fri, 13 Oct 2023 00:05:19 -0700 (PDT) Rml4IHRoZSBmb2xsb3dpbmcgZXJyb3JzIHJlcG9ydGVkIGJ5IGNoZWNrcGF0Y2g6CgpFUlJPUjog bmVlZCBjb25zaXN0ZW50IHNwYWNpbmcgYXJvdW5kICctJyAoY3R4Old4VikKClNpZ25lZC1vZmYt Ynk6IEthaUxvbmcgV2FuZyA8d2FuZ2thaWxvbmdAamFyaS5jbj4KLS0tCiBmcy9jZXBoL2xvY2tz LmMgfCAyICstCiAxIGZpbGUgY2hhbmdlZCwgMSBpbnNlcnRpb24oKyksIDEgZGVsZXRpb24oLSkK CmRpZmYgLS1naXQgYS9mcy9jZXBoL2xvY2tzLmMgYi9mcy9jZXBoL2xvY2tzLmMKaW5kZXggY2I1 MWM3ZTljOGUyLi5mOTU2ZjYxM2RkOTMgMTAwNjQ0Ci0tLSBhL2ZzL2NlcGgvbG9ja3MuYworKysg Yi9mcy9jZXBoL2xvY2tzLmMKQEAgLTE0MSw3ICsxNDEsNyBAQCBzdGF0aWMgaW50IGNlcGhfbG9j a19tZXNzYWdlKHU4IGxvY2tfdHlwZSwgdTE2IG9wZXJhdGlvbiwgc3RydWN0IGlub2RlICppbm9k ZSwKIAkJbGVuZ3RoID0gbGU2NF90b19jcHUocmVxLT5yX3JlcGx5X2luZm8uZmlsZWxvY2tfcmVw bHktPnN0YXJ0KSArCiAJCQkJCQkgbGU2NF90b19jcHUocmVxLT5yX3JlcGx5X2luZm8uZmlsZWxv Y2tfcmVwbHktPmxlbmd0aCk7CiAJCWlmIChsZW5ndGggPj0gMSkKLQkJCWZsLT5mbF9lbmQgPSBs ZW5ndGggLTE7CisJCQlmbC0+ZmxfZW5kID0gbGVuZ3RoIC0gMTsKIAkJZWxzZQogCQkJZmwtPmZs X2VuZCA9IDA7CiAKLS0gCjIuMTcuMQo=