From patchwork Tue Nov 21 01:05:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 167454 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp324578vqb; Mon, 20 Nov 2023 17:05:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IFyEtWNN7KWXTdVfL/tDJBqluy7wkYzKVRXuvVIFe3+ihABfOF/qqWp5xzbK7Jiz3ctDWJm X-Received: by 2002:a17:902:e842:b0:1cf:584e:d724 with SMTP id t2-20020a170902e84200b001cf584ed724mr8443757plg.10.1700528728447; Mon, 20 Nov 2023 17:05:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700528728; cv=none; d=google.com; s=arc-20160816; b=u9aO+BE1XWWWmqEPmzwtOZswVld5rYk6/uSg9iZ/bxL0l/eZ0rr/+tMH6KwKIjYzlw P0OxpKcanLpHeZdteRUGfb820lowa6pdjTvdRftu/xvt3iMzkoz8aZnptIpAnBYwoK1U qzCPBboXCm9/hVHgci2vS3EGBUqbHk6aA+oQL5YGF5EYIZYIhvgrHc8fhQoIE2hmOa2g KPGZNPEJK/hRQ5P52W8d7lpLwr8czeU8h5R7TCCbGr2h0PHL1EpUnwq1lRP4F78W2LNB Wv04bR0Nq3TUxvMdER+BojNd28X7iRi1L+Orif0BV/zgaavQf6GOcBeI1B5YTKbsj9sP p69w== 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=EUwDEYT57uQ+ZvpHsd/m9uC/Rvygn1jTaMqDMP3UvQ8=; fh=Ivt+5pDYcelIFTXxVwIyyWeHz/4NddWFF494YdoDaJ8=; b=y+5q5/6rjisXAa7ahDv3X9Pj7kjA/1qt691sRfSMt8cjOWQiG21QChrJRmE2pVAIJj UGvh82KnvSqi2izOKb37FhrSNVFLxKqqX0jVqHHBw/MPT8X/sl5YYrcsJvslokonwriG 6RGoRhev6hMAIILgpAO6Owcx1ojPxR3kF8D07V17+nY/yS63LQHKO+yXJ4fzJSp9kSJw x1Y3Key9z4PE68iz+iJZ1RDrC1lpOKqxXISBywCP2vX0sIR2qXzQ62K/EU4y7kX1UTBZ rfPSSRC42YonIywQfp5zhLglUNh8NSaFNyd9KCZRhMgkdw80ZB7LnVMtor7VBfETSzae BteQ== 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 t7-20020a170902bc4700b001c9c89fd36dsi8960993plz.203.2023.11.20.17.05.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 17:05:28 -0800 (PST) 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 AE92880212B5; Mon, 20 Nov 2023 17:05:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232876AbjKUBFZ (ORCPT + 27 others); Mon, 20 Nov 2023 20:05:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230107AbjKUBFX (ORCPT ); Mon, 20 Nov 2023 20:05:23 -0500 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 425D2A2; Mon, 20 Nov 2023 17:05:20 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R731e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045170;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VwqVgP7_1700528717; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VwqVgP7_1700528717) by smtp.aliyun-inc.com; Tue, 21 Nov 2023 09:05:18 +0800 From: Yang Li To: kent.overstreet@linux.dev, bfoster@redhat.com Cc: linux-bcachefs@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] bcachefs: clean up one inconsistent indenting Date: Tue, 21 Nov 2023 09:05:15 +0800 Message-Id: <20231121010515.89897-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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]); Mon, 20 Nov 2023 17:05:27 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783133612077603609 X-GMAIL-MSGID: 1783133612077603609 fs/bcachefs/journal_io.c:1843 bch2_journal_write_pick_flush() warn: inconsistent indenting Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7585 Signed-off-by: Yang Li --- 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 b061d77b2430..85f780796ac6 100644 --- a/fs/bcachefs/journal_io.c +++ b/fs/bcachefs/journal_io.c @@ -1839,7 +1839,7 @@ static int bch2_journal_write_pick_flush(struct journal *j, struct journal_buf * (!w->must_flush && (jiffies - j->last_flush_write) < msecs_to_jiffies(c->opts.journal_flush_delay) && test_bit(JOURNAL_MAY_SKIP_FLUSH, &j->flags))) { - w->noflush = true; + w->noflush = true; SET_JSET_NO_FLUSH(w->data, true); w->data->last_seq = 0; w->last_seq = 0;