From patchwork Tue Jan 23 18:33:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kemeng Shi X-Patchwork-Id: 13527205 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DA37C47258 for ; Tue, 23 Jan 2024 10:36:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CCF506B0085; Tue, 23 Jan 2024 05:36:03 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 88E7D6B0093; Tue, 23 Jan 2024 05:36:03 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 649366B0083; Tue, 23 Jan 2024 05:36:03 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id C0B516B0087 for ; Tue, 23 Jan 2024 05:36:02 -0500 (EST) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 72462C0677 for ; Tue, 23 Jan 2024 10:36:02 +0000 (UTC) X-FDA: 81710220564.07.3F4FCBE Received: from dggsgout12.his.huawei.com (unknown [45.249.212.56]) by imf12.hostedemail.com (Postfix) with ESMTP id E3E744001D for ; Tue, 23 Jan 2024 10:35:56 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=none; spf=pass (imf12.hostedemail.com: domain of shikemeng@huaweicloud.com designates 45.249.212.56 as permitted sender) smtp.mailfrom=shikemeng@huaweicloud.com; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1706006160; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IURGaeULh4hznugYEnawrad3ofcDLif3EvNTQEzDaos=; b=uSbWcKGtd3l16yBHajy9gZC6hPqiOKJ4AHNlkae10szB2ktInfYaAVYgxRcS/5+T1ZhPUx Q/FdhaykrMnVdXUxCDijRElfKFTyGrf+jFXrBj2xFmtgzhdvdtMkymONWlafJXI8+z4BLp 4YvVWC6uQzlOj9pzLpn0SfZsLl5cj7I= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=none; spf=pass (imf12.hostedemail.com: domain of shikemeng@huaweicloud.com designates 45.249.212.56 as permitted sender) smtp.mailfrom=shikemeng@huaweicloud.com; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1706006160; a=rsa-sha256; cv=none; b=b6Up2x7IjbNUufeK3Ll0eUWJ6hCy6uxWRMbNzvKtduuirayPFtregSq6eFjopelO03TRll BeD1h16jY005HZ16OWbR2Wh7XS04Hj/YCvcQNA2ZayqRfIov6UAJbzuGFnR6dkEyNEBSmE nQkTkUx6sp5faCi9sJN0Pu1PmKBapKQ= Received: from mail.maildlp.com (unknown [172.19.163.216]) by dggsgout12.his.huawei.com (SkyGuard) with ESMTP id 4TK3QY1QLyz4f3khM for ; Tue, 23 Jan 2024 18:35:49 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.112]) by mail.maildlp.com (Postfix) with ESMTP id 1EF3A1A038B for ; Tue, 23 Jan 2024 18:35:53 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.124.27]) by APP1 (Coremail) with SMTP id cCh0CgA3Bg+Flq9ly6DjBg--.30161S7; Tue, 23 Jan 2024 18:35:52 +0800 (CST) From: Kemeng Shi To: willy@infradead.org, akpm@linux-foundation.org Cc: tj@kernel.org, hcochran@kernelspring.com, mszeredi@redhat.com, axboe@kernel.dk, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] mm: remove stale comment __folio_mark_dirty Date: Wed, 24 Jan 2024 02:33:32 +0800 Message-Id: <20240123183332.876854-6-shikemeng@huaweicloud.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20240123183332.876854-1-shikemeng@huaweicloud.com> References: <20240123183332.876854-1-shikemeng@huaweicloud.com> MIME-Version: 1.0 X-CM-TRANSID: cCh0CgA3Bg+Flq9ly6DjBg--.30161S7 X-Coremail-Antispam: 1UD129KBjvdXoW7Gr18Zw1ktF1UJFWktryUtrb_yoW3XFb_u3 Z7Jr1kXa9Fgr1xJay29as3Aw1v9a1DCr1xZF1SqFnrAa4Fyrs5Zws5tr4Dtr1DKr4UWFZr KF1UZr45ArsrKjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbSxYFVCjjxCrM7AC8VAFwI0_Wr0E3s1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l87I20VAvwVAaII0Ic2I_JFv_Gryl82 xGYIkIc2x26280x7IE14v26r126s0DM28IrcIa0xkI8VCY1x0267AKxVW5JVCq3wA2ocxC 64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26F1j6w1UM2 8EF7xvwVC0I7IYx2IY6xkF7I0E14v26r4UJVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq 3wA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8w Aqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE 14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x 0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E 7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcV C0I7IYx2IY67AKxVWUCVW8JwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Cr0_Gr1UMIIF0xvE 42xK8VAvwI8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6x kF7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjxUIL05UUUUU X-CM-SenderInfo: 5vklyvpphqwq5kxd4v5lfo033gof0z/ X-Rspamd-Queue-Id: E3E744001D X-Rspam-User: X-Stat-Signature: p7f65eoaaxqxh83okyrwppram7m8daqy X-Rspamd-Server: rspam01 X-HE-Tag: 1706006156-845569 X-HE-Meta: U2FsdGVkX18X+oXwBJnDy1bU5p3zzfKboCUcefeTfEDfaqbEf27QwnWEZn8HQ96PASv/OfaOr4dLbNGh0mwf3RIA9VPRmkGxsVuyeC+815IAsn4nVWM8ZClX55XIr1Ff4ajC+B0dBbq8ZwhxC4Qco5vsqkptq0+tRZntPXrhLQSxdZOfTmV0JQGGQVvWMLEq0px7ceELISp41cluqBIKPuRvqpAw/j7E8mrxTdaX4ZncPf6LPeE0VmQkPqbpw0ZerUnHSe8tbG6GtZAuh/H1kewuoS/iJqkwnkkWrqXA2ET/+IDi5ed0zCVwk2KwrcrWQSd0xPuQ6knlCezbGjXT15nNivJaHKCIwu4/xyQ6F03tdl6gUgmk7TQM/d7ahPc2en0SHNGUepYhLoWzlRzmZ/gyIY1NrlIDdsV+XuP7OwgDQE5RHKMR7mUxirzQCOXESquF0K5yDQkY5ZLupaBFclhIbAzJHm7dWMczov5o5mYKTK3pHMa0EC2HZMFD/cKWvKTvv92IYRJoA31+I0I6i6cYGVDPdIu4JH4wzO1LuAF+Otoyz2UBVZRq42gek7qVk0mZ9H9PshlPATVvcOdwUoQEIfAoCfCPPFH0m7aKutXqcdGW20ePLprUIZPSMsfe9ctugmWevIC2On3tMhfujho/862u+qOTnhCIElNgIWKiDj3uI/aaVMQa+HfPVDzcG2MtDQnQKiKa5ODBiHm3KB5kT12VNNJd2ONsRCxf2Daiwijfy5lLdOgJFne/6O67d3+1bZor8u8KfRnEzVg6h1bTrPpZK7quSTFFUXYW1UOnF9xXjrFTLd9ZmAas9gAwbAsyO70ZQtcxCDyGysC1uMRGXA8iAcZ9GYEkeBdafGCnBIcBIR3B6Ig2nxD4vVde/WVrKbRddSfGR44XsR/Pp80Waz9BB7pPCMORx6KMpxZPPOrjuy++uTMPPsFQQJHMASF13BDa1rcStLxUG0B Ut72V44U m8s1bgF0FKGoqA/GxTMuHDDN1W8WfLqXHGIrvonpx8zmWPbqSlf76VeizlV1/gkp5RhC51pG45GlBD09uZz81t336Ax1fMyatLxpcnvZ1AF6JqMVqPzXHRbEadIQbstiDWjF+HkaqR7xS9zNAlBHQujS3yUgu8/wYNLqO/hxxaE1yQAU7x/6HzJC3+zLRFMkHg11DzU+dyYoaYe+VFjS75iJHzbhpekM+kZ6uqPkjQ0JNHwsVa5UD6h4Gqal1bWbpSFt8GLPs5/BtkOtOsgQCh4+XDUdeWMt4k4MIifMhwtYdkLk= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: The __folio_mark_dirty will not mark inode dirty any longer. Remove the stale comment of it. Signed-off-by: Kemeng Shi Reviewed-by: Matthew Wilcox (Oracle) --- mm/page-writeback.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/page-writeback.c b/mm/page-writeback.c index f25393034c76..03e2797bc983 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -2647,8 +2647,7 @@ void folio_account_cleaned(struct folio *folio, struct bdi_writeback *wb) } /* - * Mark the folio dirty, and set it dirty in the page cache, and mark - * the inode dirty. + * Mark the folio dirty, and set it dirty in the page cache. * * If warn is true, then emit a warning if the folio is not uptodate and has * not been truncated.