Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3782209rdb; Thu, 14 Sep 2023 02:22:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGDjr6aPjKtTC/e95vvZIQv1iwgKyZzEEBOZO8+femqszaSKB7EfId81NH3Dak+ZCmmKVMf X-Received: by 2002:a05:6a20:5481:b0:13d:8876:4c97 with SMTP id i1-20020a056a20548100b0013d88764c97mr5862799pzk.16.1694683353338; Thu, 14 Sep 2023 02:22:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694683353; cv=none; d=google.com; s=arc-20160816; b=DMSjOfw06UuebpkO9zNoqQhV0ftVBJuCEZZdBbTnKx/iMkZ9LIOOb606ZHnvqQINbN xI1rtOBq8ODgUW2VfAy+83PLo6I59KwF1D7OGxe2PTJK4sSpTtaAnaL70hBd5+887Cjc cw8TZRKHvmFfO7xaQA2yp3SEpNvjFzpafgT3oUAp10wAs4zoA7hkMM/gsHa+KqEOzPFA oTUv95zBfBIIlNBMrtzShmyHJnl6YdjfqNhtsbr0VpcjGncE4WjyI5NUAY12lH4vVNFV ruSPThrJN8K8yy5ytFf7PCD6RVC0j0wvDybH8E7EVMhXSfhL6XzpyRa6qsJnMJSsjFTX J9JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=3gadX/LKpA0MomykuPuamzqtucGdeftxS/iDfuGVvW4=; fh=TapvEXZTIZB6cr1I2j4y+MsEQWH4VaZKMFgKGEDdR6A=; b=YPmKb9l+bTYHfTYd9mhUGJDfwq3tqa9E0VA1SVJzsa9ysiAMX1UPxs53HWLMy81oUv CFCW12st/GD4So6Akl5t1QSpgjKFhPZ3FOfjw5+kDQDNCr9Etz1cKz2gsGOElhaxO0V5 GWVReiOGRhvfXUt04uMr/nm9gTabPB2wmgAZax3ZjWifbYfrgrB4B7I2AUJmPXMdb7qG HsRYKSH0FPVv/EU4FJyAtEbQqaI/5RwIbfntTkzk8B305vNM4PR4DT/+vBwgH4eTJ1Zl agx1k1sztUArW3WK223sQh3JQzsNZY22bHJo3C9WfL8GrBYdMWRurRvFZW5jVOU72pKo ODXg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id s17-20020a17090302d100b001b9c1821f6bsi1321981plk.98.2023.09.14.02.22.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 02:22:33 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id DD7CA830D12F; Thu, 14 Sep 2023 02:05:48 -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 S236846AbjINJFp (ORCPT + 99 others); Thu, 14 Sep 2023 05:05:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236811AbjINJFl (ORCPT ); Thu, 14 Sep 2023 05:05:41 -0400 Received: from out30-113.freemail.mail.aliyun.com (out30-113.freemail.mail.aliyun.com [115.124.30.113]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49D301BF1; Thu, 14 Sep 2023 02:05:37 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R401e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0Vs23M9I_1694682332; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vs23M9I_1694682332) by smtp.aliyun-inc.com; Thu, 14 Sep 2023 17:05:34 +0800 From: Jiapeng Chong To: kent.overstreet@linux.dev Cc: bfoster@redhat.com, linux-bcachefs@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH 3/9] bcachefs: Modify mismatched function name Date: Thu, 14 Sep 2023 17:04:52 +0800 Message-Id: <20230914090457.32325-4-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c In-Reply-To: <20230914090457.32325-1-jiapeng.chong@linux.alibaba.com> References: <20230914090457.32325-1-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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]); Thu, 14 Sep 2023 02:05:49 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email No functional modification involved. fs/bcachefs/io.c:1817: warning: expecting prototype for bch_write(). Prototype was for bch2_write() instead. fs/bcachefs/io.c:747: warning: expecting prototype for bch_write_index(). Prototype was for __bch2_write_index() instead. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6578 Signed-off-by: Jiapeng Chong --- fs/bcachefs/io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/bcachefs/io.c b/fs/bcachefs/io.c index 3c614c864b6e..cd14a6d87e2b 100644 --- a/fs/bcachefs/io.c +++ b/fs/bcachefs/io.c @@ -741,7 +741,7 @@ static noinline int bch2_write_drop_io_error_ptrs(struct bch_write_op *op) } /** - * bch_write_index - after a write, update index to point to new data + * __bch2_write_index - after a write, update index to point to new data */ static void __bch2_write_index(struct bch_write_op *op) { @@ -1798,7 +1798,7 @@ static void bch2_write_data_inline(struct bch_write_op *op, unsigned data_len) } /** - * bch_write - handle a write to a cache device or flash only volume + * bch2_write - handle a write to a cache device or flash only volume * * This is the starting point for any data to end up in a cache device; it could * be from a normal write, or a writeback write, or a write to a flash only -- 2.20.1.7.g153144c