From patchwork Thu Sep 14 09:04:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiapeng Chong X-Patchwork-Id: 139760 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp532664vqi; Thu, 14 Sep 2023 11:11:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFKkPsNLHzC2ISdYggw5CWxuZgcMBfH4yb1C7+DZ8cHZd0BH6DX+D6oNgP6UNT+T5TjDUOc X-Received: by 2002:a92:c9c2:0:b0:349:983c:4940 with SMTP id k2-20020a92c9c2000000b00349983c4940mr6574819ilq.1.1694715092712; Thu, 14 Sep 2023 11:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694715092; cv=none; d=google.com; s=arc-20160816; b=dWfc3llX9p82J2z1Rcx5D917hrAYlxIEXdtRNfLkcWi07eIHQfziLmKOFJUb97Y451 G7rvPuq4EU6gFHI8tNzZw4c155vhfdJ/unup/CzX+Oby7wC6aey717jwagCx4UO909j1 BEWA1wRXeqWN3kGUzYMOQoiXYl/OFj1d4bnYS/qofp3m4NtInGsHsiscXwIs6kbAe6F7 ImRXXGRws0hCEQe6J8gTqhsayPLVzpLqlXEQ6QOY3V4C2oD28mRoX3M4QgsqSDaFmtTL p7IODGbDu6k08uj/VDwhaxnBT6boEUYfrJb1sHUQCMs45/fgSy5DQOcfPNzq60j4lquJ +u0Q== 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=rrBAiGjPMouUHiJp7zVub8VUFnYJbXEwH0ut9eLNugE=; fh=TapvEXZTIZB6cr1I2j4y+MsEQWH4VaZKMFgKGEDdR6A=; b=lW8fkL6G2h2jO4kfdySnZC9CDX9p+2e1qIFq5oem+tnK3cxtDEsvUEnyeNKhnQ7Kpn Atfm9K+RrY5C7MknVxYK2qXrGa4XJkOPmY45uybQRjCw5UCM++7erCTHgb6cbd4bWFqF NsKCm01NAnEJJ37agngYFrWbjtsc3Whr/29SR0O5dX7H9cN3rHeViJer6N8vYFLXT5OI JhxBSnd+JbJspqT3F/xd36gSyhiBss2udKu4KQXobPyPGm3tkIfmaOOoVSylEXbqMc/j 3gKyEz+HRklfKcwG7/Rxb6/k0pgRewofb9MrzxfMm6vdnBFaGkLmyc2tHSUke6Gl5+CD WWNw== 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:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id 4-20020a630204000000b005646700b191si1855190pgc.371.2023.09.14.11.11.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 11:11:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 72751820DA10; Thu, 14 Sep 2023 02:05:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236808AbjINJFl (ORCPT + 35 others); Thu, 14 Sep 2023 05:05:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236744AbjINJFi (ORCPT ); Thu, 14 Sep 2023 05:05:38 -0400 Received: from out30-133.freemail.mail.aliyun.com (out30-133.freemail.mail.aliyun.com [115.124.30.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 214551BEF; Thu, 14 Sep 2023 02:05:32 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0Vs215gF_1694682323; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vs215gF_1694682323) by smtp.aliyun-inc.com; Thu, 14 Sep 2023 17:05:30 +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 1/9] bcachefs: Modify mismatched function name Date: Thu, 14 Sep 2023 17:04:50 +0800 Message-Id: <20230914090457.32325-2-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 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 (snail.vger.email [0.0.0.0]); Thu, 14 Sep 2023 02:05:41 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777004172282617623 X-GMAIL-MSGID: 1777037573017071732 No functional modification involved. fs/bcachefs/journal_reclaim.c:600: warning: expecting prototype for bch2_journal_reclaim(). Prototype was for __bch2_journal_reclaim() instead. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6576 Signed-off-by: Jiapeng Chong --- fs/bcachefs/journal_reclaim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bcachefs/journal_reclaim.c b/fs/bcachefs/journal_reclaim.c index 10e1860dad79..bed94af68fd0 100644 --- a/fs/bcachefs/journal_reclaim.c +++ b/fs/bcachefs/journal_reclaim.c @@ -579,7 +579,7 @@ static u64 journal_seq_to_flush(struct journal *j) } /** - * bch2_journal_reclaim - free up journal buckets + * __bch2_journal_reclaim - free up journal buckets * * Background journal reclaim writes out btree nodes. It should be run * early enough so that we never completely run out of journal buckets. From patchwork Thu Sep 14 09:04:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiapeng Chong X-Patchwork-Id: 139761 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp532761vqi; Thu, 14 Sep 2023 11:11:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEesyFbRmyuvi/JDsz7oZD0jYAx+ZPPgYtl4XBIUW1VAqVp8imKO0QS5+lYD6124IWNjrBs X-Received: by 2002:a05:6a21:9983:b0:13d:d5bd:758f with SMTP id ve3-20020a056a21998300b0013dd5bd758fmr6597087pzb.6.1694715100912; Thu, 14 Sep 2023 11:11:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694715100; cv=none; d=google.com; s=arc-20160816; b=trLNJUPBO4kvONuIi0imAF/YGDORgIzP32UHbdYAl22ax/QZm0ZL/1ltuSY9ewYBG8 QQOdokXc6XKHC4jD43V4loTQScGuEZVsiI7Yj96BfKMmLVG92vwV/Wk7vkkuWErKq1Pq CGTcY8tt3ey/CptKa/Awnx1XD+d3oEB6Ds1oh+IHQ4dmgnmGmo+nL1v/6OCDuqEFgr1J GFPrVZVqDZOjgeSPNw9e/S164BJ1abe/L8RCKLp5iJSe5Vlp1PEUy5CxZytADgGGmLlu MegxB9J3lw+BsozxbaEgP02NGHhPhKgnkmP1CsgYOMr4vRbUS5z/3YCnKeEix24djMy9 kWXQ== 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=+RDD7Y1KQARNWO5r/1v9K7LLLK/mehxMUg4mD6758go=; fh=TapvEXZTIZB6cr1I2j4y+MsEQWH4VaZKMFgKGEDdR6A=; b=0aTFkwHiWp4d1Mm9uVvMjcnGyCTJP3hPLBpNGG0Vryg49cMNeU/kbChb79xcZdhPxU i/zOBsqElLsH1uCPAHy4z3QmQ0oCMmjHeg5jxjgUHEa2cFaMn2pXGiqsYPru+E0qt2ZV KFhH1fv1lcfsaPGm+xVVlt2guwxzeTb3ONlfIHebDpouUUEHssx0+UoeqoIk8SgW5trT BPS1pkT68ivC7zBTAJaBBAmgaaLdUkpgUwnC0FDLJoZy/lW3u70jVBA8b4uymSSMqjQs /kBCZ0JSvtGqZfb4f6BiTd++8n2gFWSiD5RehKI6ktyJMygP19U7iNy1+ySDjAbACBIS O9bg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id l37-20020a635725000000b005694492c259si1880428pgb.282.2023.09.14.11.11.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 11:11:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 84DDB82159C0; Thu, 14 Sep 2023 02:05:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236674AbjINJFo (ORCPT + 35 others); Thu, 14 Sep 2023 05:05:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236753AbjINJFj (ORCPT ); Thu, 14 Sep 2023 05:05:39 -0400 Received: from out30-99.freemail.mail.aliyun.com (out30-99.freemail.mail.aliyun.com [115.124.30.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 171331A2; Thu, 14 Sep 2023 02:05:34 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R161e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0Vs20loA_1694682330; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vs20loA_1694682330) by smtp.aliyun-inc.com; Thu, 14 Sep 2023 17:05:32 +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 2/9] bcachefs: Modify mismatched function name Date: Thu, 14 Sep 2023 17:04:51 +0800 Message-Id: <20230914090457.32325-3-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 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 (snail.vger.email [0.0.0.0]); Thu, 14 Sep 2023 02:05:43 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777004172282617623 X-GMAIL-MSGID: 1777037581570057490 No functional modification involved. fs/bcachefs/journal_io.c:1387: warning: expecting prototype for journal_next_bucket(). Prototype was for journal_write_alloc() instead. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6577 Signed-off-by: Jiapeng Chong --- fs/bcachefs/journal_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bcachefs/journal_io.c b/fs/bcachefs/journal_io.c index 34740dca4b15..b4a4dd411239 100644 --- a/fs/bcachefs/journal_io.c +++ b/fs/bcachefs/journal_io.c @@ -1380,7 +1380,7 @@ static void __journal_write_alloc(struct journal *j, } /** - * journal_next_bucket - move on to the next journal bucket if possible + * journal_write_alloc - move on to the next journal bucket if possible */ static int journal_write_alloc(struct journal *j, struct journal_buf *w, unsigned sectors) From patchwork Thu Sep 14 09:04:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiapeng Chong X-Patchwork-Id: 139456 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp217992vqi; Thu, 14 Sep 2023 02:20:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHDLPofkoMrFIaMtyI+qLw5de9InDeKzBftQXweamW4S0cdQI751QvrwUydv4hVYq8Hfhtw X-Received: by 2002:a17:903:264a:b0:1c0:93b6:2e4b with SMTP id je10-20020a170903264a00b001c093b62e4bmr4616423plb.33.1694683242047; Thu, 14 Sep 2023 02:20:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694683242; cv=none; d=google.com; s=arc-20160816; b=uztI7p8EcJvCqHgTAH3u82TbBCmpk0bfjGrY2VVRuNZT4epG2iQ0NBDq2lpRXBLYjz tIXAbwI9z0cu3ceEp4yn/j3JB+g7d035GO3s8Mko2GtL2sW5XZmFG6rDpaQMexR3Gkdi 2vSKL56lnYKQe/ht1opevAOqV9L3SlKuDglPyUOsyLwDEFaaSzfAgtenEXab7c3ZfjWv SLKLlgYjYTmVYy7QoluYJxGAA6f70q7knUkkxIuHNBH/HrjUh534wWM5Fz8RJWJfL6fC wT8VYnMwPL+JzwnrFybW1aFpW66J1GwYe3hSseyCk5lchiVfy6yNcDA4zLy7uKl2yIad ZjkA== 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.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id c17-20020a170902d49100b001b89551a392si1407021plg.113.2023.09.14.02.20.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 02:20:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 12E3580DB9D5; Thu, 14 Sep 2023 02:05:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236851AbjINJFq (ORCPT + 35 others); Thu, 14 Sep 2023 05:05:46 -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 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 (pete.vger.email [0.0.0.0]); Thu, 14 Sep 2023 02:05:52 -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 pete.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777004172282617623 X-GMAIL-MSGID: 1777004175362295604 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 From patchwork Thu Sep 14 09:04:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiapeng Chong X-Patchwork-Id: 139763 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp533037vqi; Thu, 14 Sep 2023 11:12:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFSmkFuYl+XyctD64sWSw+DDAQsT8p0NsAWfVGrn5l1diUWi+iA1Oq7VeC1FWiu5Q0fUOVG X-Received: by 2002:a17:903:1cb:b0:1bf:1a9e:85f7 with SMTP id e11-20020a17090301cb00b001bf1a9e85f7mr6962491plh.1.1694715132125; Thu, 14 Sep 2023 11:12:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694715132; cv=none; d=google.com; s=arc-20160816; b=quHmokvbk1k7R1IkN8L7P9TaCabYjh0UiVdUOdE598x2eqHIWOTnpXOLX5uy58iWAv 2mQw077ndSF7wstECnb+oLSv9iPLI8+hd0fA2kfvtZyacLCxOlsU5KSOBgfk9RqISmIH DPUzfjux7SN/s6oAORKc2gTB6k1AOqJkiuZxjVa6LphWlwnTbjZ2Y1W5ElzfAQSqf1Cs s1tdAD9JGffJen/EW1ThmKVVGmHCZvs+pQ+JFeXWHzbizdvtA2AUQQsnrLSmkircIi6J v8mElcTC5forMvHf+z9rwaGTYKdbjGjzH+a03M6VkDD1Yeyrw2H6il+htJcPQLAEVy/i VgSQ== 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=5W1NeAbNBjNrStPQ+ocaD5WeuIO43wkUQNMpXjj4hZo=; fh=TapvEXZTIZB6cr1I2j4y+MsEQWH4VaZKMFgKGEDdR6A=; b=kYeubi5LczcmX/kT6o+jDlLfps8MTv1D6+rnYyV6qKz/gw+g7Ra5ki8jowbn6kaXcP dOBROhTro3VvD7FhhDXFFmk42W+F2fEKN9zBkGpX4tzFBLLr2MywP0KN2Fk79GnUObD7 rm2yOqYzCLkjQA/j8X2CRyrhFNbFJWTnoy/VbTfiRoQ6EizWVoawjTERR6BTPJ99KQP1 iynh+WXAIHrseUrCbWH1DNDL1Db4dXZY7I/e/NtzAzxsJX/pxHQiRBMAMWNxtF9/KRJz qbSxBVUTyzx2XLKeC54hksxqN7qLQcijvRXCHUOPif7nCanrPX5PjFNQ+zH3CBhsaAYl dz9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id j7-20020a170903024700b001bb86cdf12bsi2137035plh.147.2023.09.14.11.12.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 11:12:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id A270482513BD; Thu, 14 Sep 2023 02:05:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236874AbjINJFr (ORCPT + 35 others); Thu, 14 Sep 2023 05:05:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236774AbjINJFn (ORCPT ); Thu, 14 Sep 2023 05:05:43 -0400 Received: from out30-118.freemail.mail.aliyun.com (out30-118.freemail.mail.aliyun.com [115.124.30.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BA0C1BF9; Thu, 14 Sep 2023 02:05:38 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0Vs1nBqG_1694682334; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vs1nBqG_1694682334) by smtp.aliyun-inc.com; Thu, 14 Sep 2023 17:05:36 +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 4/9] bcachefs: Modify mismatched function name Date: Thu, 14 Sep 2023 17:04:53 +0800 Message-Id: <20230914090457.32325-5-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 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 (snail.vger.email [0.0.0.0]); Thu, 14 Sep 2023 02:05:55 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777004172282617623 X-GMAIL-MSGID: 1777037614301588358 No functional modification involved. fs/bcachefs/btree_update_interior.c:153: warning: expecting prototype for btree_node_format_fits(). Prototype was for bch2_btree_node_format_fits() instead. fs/bcachefs/btree_update_interior.c:1235: warning: expecting prototype for bch_btree_set_root(). Prototype was for bch2_btree_set_root() instead. fs/bcachefs/btree_update_interior.c:1678: warning: expecting prototype for bch_btree_insert_node(). Prototype was for bch2_btree_insert_node() instead. fs/bcachefs/btree_update_interior.c:1944: warning: expecting prototype for bch_btree_node_rewrite(). Prototype was for bch2_btree_node_rewrite() instead. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6579 Signed-off-by: Jiapeng Chong --- fs/bcachefs/btree_update_interior.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/bcachefs/btree_update_interior.c b/fs/bcachefs/btree_update_interior.c index 73c950d2788e..29f5e6174270 100644 --- a/fs/bcachefs/btree_update_interior.c +++ b/fs/bcachefs/btree_update_interior.c @@ -143,7 +143,7 @@ static size_t btree_node_u64s_with_format(struct btree *b, } /** - * btree_node_format_fits - check if we could rewrite node with a new format + * bch2_btree_node_format_fits - check if we could rewrite node with a new format * * This assumes all keys can pack with the new format -- it just checks if * the re-packed keys would fit inside the node itself. @@ -1217,7 +1217,7 @@ static void bch2_btree_set_root_inmem(struct bch_fs *c, struct btree *b) } /** - * bch_btree_set_root - update the root in memory and on disk + * bch2_btree_set_root - update the root in memory and on disk * * To ensure forward progress, the current task must not be holding any * btree node write locks. However, you must hold an intent lock on the @@ -1661,7 +1661,7 @@ bch2_btree_insert_keys_interior(struct btree_update *as, } /** - * bch_btree_insert_node - insert bkeys into a given btree node + * bch2_btree_insert_node - insert bkeys into a given btree node * * @iter: btree iterator * @keys: list of keys to insert @@ -1935,7 +1935,7 @@ int __bch2_foreground_maybe_merge(struct btree_trans *trans, } /** - * bch_btree_node_rewrite - Rewrite/move a btree node + * bch2_btree_node_rewrite - Rewrite/move a btree node */ int bch2_btree_node_rewrite(struct btree_trans *trans, struct btree_iter *iter, From patchwork Thu Sep 14 09:04:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiapeng Chong X-Patchwork-Id: 139453 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp217964vqi; Thu, 14 Sep 2023 02:20:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0eLV40D94LLYsKDneuF/9Kh/0HOMJRSzWjhuCJjdfbdXUcatI2aD3lUQClBg0E3UWZ0EO X-Received: by 2002:a05:6808:1316:b0:3a0:38c2:2654 with SMTP id y22-20020a056808131600b003a038c22654mr5901636oiv.58.1694683239028; Thu, 14 Sep 2023 02:20:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694683238; cv=none; d=google.com; s=arc-20160816; b=vPqIyAJ5r2XZaI7aYSoSaI7H0QJLHO7mZ26WthqNDAII/48ZDXeTIfAZ9SWWbWSW/i 2IcJYZ+RM0zh9y0WIQGmzz7ykRLs5+dmgDpWxP8j4ShkETRSPPWL6JgbjQtFtH3lgZPW t3OwAAJlZlJI3ZXncf2BJ+11bX1Lz4nHO0FgvC5v9muP5/Vpq/bSiFvLxNI3g+2q2Haj dwGixvHRhKxBnV/N59dSR2HoIiR7SEEH9+wLnMpqyhEjvGLlkdSFzsnI2NssuBGvBZua dEkuzmTowJBpXSnMOlirsnp7AVjSXDz13eW0qSfn4xdGQ0xquyli0O7lOAk9ZORmMOjD udjQ== 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=ozUzvdddq7XCBwFyuEG2Eq9fjB2PjPmFMohqaRELpmU=; fh=TapvEXZTIZB6cr1I2j4y+MsEQWH4VaZKMFgKGEDdR6A=; b=JFlwplrNsxgkpcmrMD/MzJ9kxNeTIomclXp9EqFPK4+D5HPH42HThoyd91DtykVJSJ vt8sx4k+fuj9hHXF4vYtXNm0of9ep3axADHWFQjzZuey71dYCyvGd1+UmF7MQ7pK1g4x 6QBbHkJ8fWG10ha+es3SV/RACALHWQx/h8ESuh7OUiUcC5VQwPRPXdE9P8b5cmxSKkTM oOnzRciBwNkzuEiVgaViDAzjFy0EkITG7DSxv+MnwY3BmhbuoMqMA2V2P6+cpi5wE+O/ rWEE3BBqyC037/X1nFt+AC6Ye9cCWc92NaZodT4EBCsotPw56JIn4IVLclinBb++ewql ICFQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id ei51-20020a056a0080f300b0068e419eef58si1147088pfb.372.2023.09.14.02.20.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 02:20:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id B8E488174A7F; Thu, 14 Sep 2023 02:06:03 -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 S236907AbjINJFz (ORCPT + 35 others); Thu, 14 Sep 2023 05:05:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236840AbjINJFp (ORCPT ); Thu, 14 Sep 2023 05:05:45 -0400 Received: from out30-118.freemail.mail.aliyun.com (out30-118.freemail.mail.aliyun.com [115.124.30.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E50231BEF; Thu, 14 Sep 2023 02:05:40 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R111e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0Vs25CXx_1694682336; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vs25CXx_1694682336) by smtp.aliyun-inc.com; Thu, 14 Sep 2023 17:05:38 +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 5/9] bcachefs: Modify mismatched function name Date: Thu, 14 Sep 2023 17:04:54 +0800 Message-Id: <20230914090457.32325-6-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 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, 14 Sep 2023 02:06:03 -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 agentk.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777004172282617623 X-GMAIL-MSGID: 1777004172282617623 No functional modification involved. fs/bcachefs/btree_trans_commit.c:223: warning: expecting prototype for btree_insert_key(). Prototype was for bch2_btree_insert_key_leaf() instead. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6580 Signed-off-by: Jiapeng Chong --- fs/bcachefs/btree_trans_commit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bcachefs/btree_trans_commit.c b/fs/bcachefs/btree_trans_commit.c index eafb0388ef82..5388bfa4d15b 100644 --- a/fs/bcachefs/btree_trans_commit.c +++ b/fs/bcachefs/btree_trans_commit.c @@ -214,7 +214,7 @@ inline void bch2_btree_add_journal_pin(struct bch_fs *c, } /** - * btree_insert_key - insert a key one key into a leaf node + * bch2_btree_insert_key_leaf - insert a key one key into a leaf node */ inline void bch2_btree_insert_key_leaf(struct btree_trans *trans, struct btree_path *path, From patchwork Thu Sep 14 09:04:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiapeng Chong X-Patchwork-Id: 139455 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp217979vqi; Thu, 14 Sep 2023 02:20:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3FfXxhdDOkE7303XT+JtG/CUudOZEI4mpbM9wjZ0Ka2pTrMovWmzlKsSSAboBjARF5fCY X-Received: by 2002:a05:6300:8088:b0:14c:c9f6:d657 with SMTP id ap8-20020a056300808800b0014cc9f6d657mr4164524pzc.22.1694683240663; Thu, 14 Sep 2023 02:20:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694683240; cv=none; d=google.com; s=arc-20160816; b=zWTr6cNvzMkCWupiYyHOq9puNnkFdB9NpvEgKtW9VkgVmC2Uo5eGpu1Cif72Ej0Xl5 vJnRd2phF72RtFd1fezLlTQFQNU5HImEJUqTglNBX7Dfj9X7Kb1TBKH7OlEcluJFyczf xSmZ9y++FtDuv4l+cougnLeyfupo8m5sSFTF/mz0Wdkl50FATVPHn9qSw/XWuShXOhgW 7zgTHuYQrb8YuglgPNCxpUjiBo6oSM24ZGsGQBfsYn/YowOUkrPR2VjN79VBxfs0ylFg AlP3d5TZU30TKBX2qznElObgN3/03Apo47jre//lYgRLydZND1Uewgr9VtxUBgVX1611 A9SQ== 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=B6TvtrVeP6oEmi8wHSafpgHcxrL9gnZ2rFddbNzucXQ=; fh=TapvEXZTIZB6cr1I2j4y+MsEQWH4VaZKMFgKGEDdR6A=; b=Wp3yLOO/pBHJqbbOb6p5zY/zYgeZu/30jMrDCmY0hsRsuKza8f8+dgLvPR1qOc/hBx Rufqut3g/lrd62dZnKgpiJoeAHd4sF1d3nnZmVujzHJgzSJlXDgZ1dJmi/FvW2PI7SoP VeK7Nz9bXevxtPQnMFoh2B9biLi7pQaSEwI025HWj19b9A1CFjSumlJj7rnURh6E5Jv0 qEAtz4bgk4XEUPfU3nIB6oWSSvafME7rgCXS+R3AhNMgHDSvxIKkemlBNslqGT2qQ5yw hEh2PVZbrZrCgSuJRs35eebzcL6/dlRV4jo8XaRWI2w6BVrxY19y8nKEHsEz7FjeZVkp 2tDg== 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:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id b3-20020a170903228300b001b6c462acbdsi1407496plh.15.2023.09.14.02.20.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 02:20:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 644D48313593; Thu, 14 Sep 2023 02:06:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236937AbjINJF6 (ORCPT + 35 others); Thu, 14 Sep 2023 05:05:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236906AbjINJFw (ORCPT ); Thu, 14 Sep 2023 05:05:52 -0400 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE3E71FC6; Thu, 14 Sep 2023 02:05:42 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0Vs215od_1694682338; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vs215od_1694682338) by smtp.aliyun-inc.com; Thu, 14 Sep 2023 17:05:40 +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 6/9] bcachefs: Modify mismatched function name Date: Thu, 14 Sep 2023 17:04:55 +0800 Message-Id: <20230914090457.32325-7-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 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 (pete.vger.email [0.0.0.0]); Thu, 14 Sep 2023 02:06:03 -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 pete.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777004172282617623 X-GMAIL-MSGID: 1777004173779728131 No functional modification involved. fs/bcachefs/btree_iter.c:2055: warning: expecting prototype for bch2_btree_iter_peek(). Prototype was for bch2_btree_iter_peek_upto() instead. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6581 Signed-off-by: Jiapeng Chong --- fs/bcachefs/btree_iter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bcachefs/btree_iter.c b/fs/bcachefs/btree_iter.c index 1dbb4d7dfb45..4151e98ce1ad 100644 --- a/fs/bcachefs/btree_iter.c +++ b/fs/bcachefs/btree_iter.c @@ -2048,7 +2048,7 @@ static struct bkey_s_c __bch2_btree_iter_peek(struct btree_iter *iter, struct bp } /** - * bch2_btree_iter_peek: returns first key greater than or equal to iterator's + * bch2_btree_iter_peek_upto: returns first key greater than or equal to iterator's * current position */ struct bkey_s_c bch2_btree_iter_peek_upto(struct btree_iter *iter, struct bpos end) From patchwork Thu Sep 14 09:04:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiapeng Chong X-Patchwork-Id: 139457 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp218718vqi; Thu, 14 Sep 2023 02:22:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IESRfTb7KOHQuzqwH1vxbgpaYLFJDWiBaRK7qiggRj9sxWh26Wkqh0nDR8exmglx5tCmBXR X-Received: by 2002:a05:6a20:4311:b0:149:97e4:8ae4 with SMTP id h17-20020a056a20431100b0014997e48ae4mr1792959pzk.0.1694683356268; Thu, 14 Sep 2023 02:22:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694683356; cv=none; d=google.com; s=arc-20160816; b=Y6DeJUkBmfyrWwISLBkaCLWkihgYn5cpCHbSBnmPswIA7V/XV7WWmrkeM3cfjtjqrP FCjWE/1tT96VSwvfWkOPkG3aZnIpkorawDq26oNHqZzGyKcR+yU7u0oddKP4wYmo8b1c OUU/JXFXJFvSw60Am6FRJmJPI7/NpYYaTrEAKIuTSWtwIHFDZ6HkZa0NLSkE0RwE3gwZ b1V539eSnHbY9p8Dh0wejYMCo8zQAm7a7u9ovyaJeJ9m/aPB7i86cpmIprnBT6XmeWKv OUkYBLo/CFDQsQnE67OSmaAqkYG4SoVSl7N8/4FqCbMLZG67x6fJUVji8MGtPU4ceDAg wB+g== 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=cC6KpfoPAYn8v1zuf7HQE7+wrw01Z4aMfUQRWyHppRM=; fh=TapvEXZTIZB6cr1I2j4y+MsEQWH4VaZKMFgKGEDdR6A=; b=cLHElHVDrfT2m3nWCWUAgCbL/y7mOgMl1uTXwQLm7uu0ERysOZHU0/rJvgml4NI8aw RD5aaZDZRy+76g2sjMA77ts2fyZEzpNq5cR+YyTj+4ZdO6CaM8oFlUiQb9z4EnoKfyy1 xUjiQU9CZHZU9P5PYQphXA+2xrRaL0BKAB66ssSpXJqht4p+qDFzjEc8+1HYtElLupM4 U4VbIQ/dpg6LL7FNZBYpPshgqRlKLKaHOfnzd7VOrPGcGoKkvm7yphesn4O7o6niCKDm 0IjPHBECht56FHUL6mhYueps3or6jf1XucqQhbqei6JMCtZ+Kc0Y6tLaa7ZW6KPj9sNb dgYw== 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 Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id l21-20020a656815000000b00563fc0d174csi1088964pgt.791.2023.09.14.02.22.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 02:22:36 -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 EFF8283337E8; Thu, 14 Sep 2023 02:06:21 -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 S236917AbjINJGB (ORCPT + 35 others); Thu, 14 Sep 2023 05:06:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236923AbjINJFw (ORCPT ); Thu, 14 Sep 2023 05:05:52 -0400 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4E9D1FD6; Thu, 14 Sep 2023 02:05:44 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R801e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0Vs25CZp_1694682340; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vs25CZp_1694682340) by smtp.aliyun-inc.com; Thu, 14 Sep 2023 17:05:42 +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 7/9] bcachefs: Modify mismatched function name Date: Thu, 14 Sep 2023 17:04:56 +0800 Message-Id: <20230914090457.32325-8-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 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:06:22 -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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777004172282617623 X-GMAIL-MSGID: 1777004294994687346 No functional modification involved. fs/bcachefs/bset.c:1314: warning: expecting prototype for bch_btree_node_iter_init(). Prototype was for bch2_btree_node_iter_init() instead. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6582 Signed-off-by: Jiapeng Chong --- fs/bcachefs/bset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bcachefs/bset.c b/fs/bcachefs/bset.c index 685792137d2a..2cd3e7562934 100644 --- a/fs/bcachefs/bset.c +++ b/fs/bcachefs/bset.c @@ -1269,7 +1269,7 @@ static void btree_node_iter_init_pack_failed(struct btree_node_iter *iter, } /** - * bch_btree_node_iter_init - initialize a btree node iterator, starting from a + * bch2_btree_node_iter_init - initialize a btree node iterator, starting from a * given position * * Main entry point to the lookup code for individual btree nodes: From patchwork Thu Sep 14 09:04:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiapeng Chong X-Patchwork-Id: 139762 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp532788vqi; Thu, 14 Sep 2023 11:11:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFe/gWl21tGQMbhDu4AMrs5czYfyrVrtl88s5aqU9R2TC746L7XeIYZVINf+Z0kfeVRMVWg X-Received: by 2002:a17:90a:3d41:b0:26d:4312:17ec with SMTP id o1-20020a17090a3d4100b0026d431217ecmr5476471pjf.1.1694715104339; Thu, 14 Sep 2023 11:11:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694715104; cv=none; d=google.com; s=arc-20160816; b=tQka6C51iRcVSzMElIPONKM1DH6SUToc0PHSIH5nLSilGz8eRrTdMfMkSGJsIl3yZv 71BQd/s4uYl0O5Pa/DBGl7sbeXVs2Zrfz0nWpvKlr3h4hNaXmh9zjSYJFK8UcdzFG3uV F9nAFtWUGvjX848DzP99xsVHeY1m/97OzhK+mZobCdLal9ZYwjH4zazlVbMNCrz9e6ni OqR6wey71mr9DIV1dvq2FzKgnpUiLk11Q1T/5YiNBOf22RK6lnqKqJX1T+4zbAoETtS0 V3l8PbLaHDb5BrDNWRgszoTrsbDfiy2Nd/Sw51CzBaJAb6UKfwdt3Fhgf0O7Z6ItPmYp NJng== 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=2M5IPRCDq8KY879U+VyfdAcZkleXHxvrMLUq4uBNbvs=; fh=TapvEXZTIZB6cr1I2j4y+MsEQWH4VaZKMFgKGEDdR6A=; b=zPC2g7ESZz0KUiUxg0DVJYm2gaw5VZFzrm/geVnmY7Ap4GJozJNywfl0sw05GucnLg ysvkQx7gwHELNcRG9cMO7wUNwwrC97oBI+qBhMxaYQz+gb2bHIXpkc/gIoC02350YZ3z RQdfdHe9WrD0r0PiUynPyVWIxcU70GO9CZW+4x749OqjGiv8jMJuLbwNAPA5Vd9A5dpv f3+Vkb1n7TKH5wm90CGTdZ47QjdQQs7TC55xIKQmDItzx9OX5eO86We6bhBqLbSKilg7 6SSev9IVap8wBmRgeC6zlQXlCLrmfX15OhSIRioM4CWAokm4sFSX0boYoh6XqYc7xxBR c00A== 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:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id mv10-20020a17090b198a00b002717acb93f1si1985953pjb.83.2023.09.14.11.11.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 11:11:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 6C89B825A6EB; Thu, 14 Sep 2023 02:06:07 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236956AbjINJGD (ORCPT + 35 others); Thu, 14 Sep 2023 05:06:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236954AbjINJFx (ORCPT ); Thu, 14 Sep 2023 05:05:53 -0400 Received: from out30-97.freemail.mail.aliyun.com (out30-97.freemail.mail.aliyun.com [115.124.30.97]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A34111FE6; Thu, 14 Sep 2023 02:05:46 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R161e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0Vs215r5_1694682342; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vs215r5_1694682342) by smtp.aliyun-inc.com; Thu, 14 Sep 2023 17:05:44 +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 8/9] bcachefs: Modify mismatched function name Date: Thu, 14 Sep 2023 17:04:57 +0800 Message-Id: <20230914090457.32325-9-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 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 (snail.vger.email [0.0.0.0]); Thu, 14 Sep 2023 02:06:07 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777004172282617623 X-GMAIL-MSGID: 1777037585639689261 No functional modification involved. fs/bcachefs/btree_cache.c:932: warning: expecting prototype for bch_btree_node_get(). Prototype was for bch2_btree_node_get() instead. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6583 Signed-off-by: Jiapeng Chong --- fs/bcachefs/btree_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bcachefs/btree_cache.c b/fs/bcachefs/btree_cache.c index d8cd0bbc33cc..661d26da3819 100644 --- a/fs/bcachefs/btree_cache.c +++ b/fs/bcachefs/btree_cache.c @@ -918,7 +918,7 @@ static struct btree *__bch2_btree_node_get(struct btree_trans *trans, struct btr } /** - * bch_btree_node_get - find a btree node in the cache and lock it, reading it + * bch2_btree_node_get - find a btree node in the cache and lock it, reading it * in from disk if necessary. * * The btree node will have either a read or a write lock held, depending on From patchwork Thu Sep 14 09:04:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiapeng Chong X-Patchwork-Id: 139454 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp217976vqi; Thu, 14 Sep 2023 02:20:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHt+HlvCKoCtLHUYJG8Qs0ocZsj0bTcsqEgk4LGA7Hc84WBJELgyItM8HNiuR+KOsJ0BOzx X-Received: by 2002:a05:6870:95a4:b0:1bf:607:e0f2 with SMTP id k36-20020a05687095a400b001bf0607e0f2mr5142943oao.29.1694683240693; Thu, 14 Sep 2023 02:20:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694683240; cv=none; d=google.com; s=arc-20160816; b=TKZem2rBFHCSIKB7k6WIZ2mtN/2tDm0wW3l4mrtC7qIuIAO1ONRlBcWt0QCuCgujKP fRiU+M2WNxPWJLeg3O6wWFs/UzobkM3CaRqNCC3c0eTfDEtnpwBdGRF7/12By4dCPMwL Cz5Av/LcjnzBkX2XWuBFZv7x2A+WbvxgFA0w53bHMtDO2E6Pz1gpoCIxkaUyHIuLY/7Q 9rhBNTJ7YzLVl/WcmtUQ+48ttDqo82LLk/+1iJGyUfhZZBEbrmg9nQGTic6CfuRLOje+ IVHdExaSAwf0TvEBdxeeiGVhOs+KcL7kfIddV1BhrmG0FbQA1G4PnyFkNygASONVyEGa qCGw== 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 :message-id:date:subject:cc:to:from; bh=/rjROFCkNOQPqaGtDXvNWTTr1inhsfqF17kHYCJVRwQ=; fh=TapvEXZTIZB6cr1I2j4y+MsEQWH4VaZKMFgKGEDdR6A=; b=uM7VIbS54vSFZCoYFiH4WTZ7XvQipCxaxA4rELjJ6a37q/lZRJ3Vi7Qw1LpPIGqyCB s/T1IWFuWy7sHCYC0leqCYEsVMgZMLaMwdVt6fhW9us+xFoOsZ0ciAn0w9jmojqPYbfi ZzzU2NbnEZEUz4cBhdEmvJ6/NhahWq0WGl02ZL3eKKVxNNi2eHOccy+WE/iFf99PPCKW Gxr9+16bQFR0YQVeOA13uSMjLeyaHPcsTAytQvW0yAFPTqh77CYkqzgzVIr8VsU/kBG5 iLAgcoXPs2wruuAz5NnyzBzukxvVPNdfSdDnq1b6XaGDUbNB3p395Vni3BUai0K5eEzT 3z1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id i71-20020a63874a000000b00565b3d5a563si1084521pge.724.2023.09.14.02.20.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 02:20:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id A145E80688B1; Thu, 14 Sep 2023 02:05:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236725AbjINJFc (ORCPT + 35 others); Thu, 14 Sep 2023 05:05:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236695AbjINJFa (ORCPT ); Thu, 14 Sep 2023 05:05:30 -0400 Received: from out30-97.freemail.mail.aliyun.com (out30-97.freemail.mail.aliyun.com [115.124.30.97]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E54A2CC7; Thu, 14 Sep 2023 02:05:25 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0Vs215Tz_1694682300; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Vs215Tz_1694682300) by smtp.aliyun-inc.com; Thu, 14 Sep 2023 17:05:23 +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 9/9] bcachefs: Modify mismatched function name Date: Thu, 14 Sep 2023 17:04:49 +0800 Message-Id: <20230914090457.32325-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 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 (pete.vger.email [0.0.0.0]); Thu, 14 Sep 2023 02:05:34 -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 pete.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777004172282617623 X-GMAIL-MSGID: 1777004173666192909 No functional modification involved. fs/bcachefs/alloc_foreground.c:514: warning: expecting prototype for bch_bucket_alloc(). Prototype was for bch2_bucket_alloc_trans() instead. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6584 Signed-off-by: Jiapeng Chong --- fs/bcachefs/alloc_foreground.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bcachefs/alloc_foreground.c b/fs/bcachefs/alloc_foreground.c index e02749ddc362..10a7979707ef 100644 --- a/fs/bcachefs/alloc_foreground.c +++ b/fs/bcachefs/alloc_foreground.c @@ -502,7 +502,7 @@ static struct open_bucket *bch2_bucket_alloc_freelist(struct btree_trans *trans, } /** - * bch_bucket_alloc - allocate a single bucket from a specific device + * bch2_bucket_alloc_trans - allocate a single bucket from a specific device * * Returns index of bucket on success, 0 on failure */