From patchwork Thu Apr 25 13:17:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kemeng Shi X-Patchwork-Id: 13643330 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 08354C19F4F for ; Thu, 25 Apr 2024 13:17:37 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2F8526B0087; Thu, 25 Apr 2024 09:17:36 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 235686B0088; Thu, 25 Apr 2024 09:17:36 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F27406B0089; Thu, 25 Apr 2024 09:17:35 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id CA09F6B0083 for ; Thu, 25 Apr 2024 09:17:35 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 7D37A12044A for ; Thu, 25 Apr 2024 13:17:35 +0000 (UTC) X-FDA: 82048106070.12.5F22C9F Received: from dggsgout11.his.huawei.com (unknown [45.249.212.51]) by imf14.hostedemail.com (Postfix) with ESMTP id A6F8910001B for ; Thu, 25 Apr 2024 13:17:31 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=none; spf=pass (imf14.hostedemail.com: domain of shikemeng@huaweicloud.com designates 45.249.212.51 as permitted sender) smtp.mailfrom=shikemeng@huaweicloud.com; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1714051053; a=rsa-sha256; cv=none; b=yvanGs7xaRr13vEZwsuU3LtEI3KDW23wYOkFWLulX77bNqPenu6F1xcXK/OaUSc2ftjXMN f/PA9IIEFSFcnFaBdBkrVAuOcQZ69p0TWH3UMmPeNPluoDFeAqtVFIVUUD9R8sMKAJl/8T KqpaOvsAReKSTcme/4B9t8n3cS30l5E= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=none; spf=pass (imf14.hostedemail.com: domain of shikemeng@huaweicloud.com designates 45.249.212.51 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=1714051053; 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=hfP2s6Tcua3B6ieOpfPE+tE92LSarp3LX4yI5xIuBDE=; b=bjeuDu1hqhq5QsOVV76WkcV5POiKuqDYAArn3Znit5vTwhSIH34Fv4JYXVpBQCVXNr8zXO Z/aFlGn0u4goWPE/iNrQfT/uzCUWrb5lIUG2lCBA7br4Gtkq2u1/eYqSWnIzgD+C6h0fAM wvICJspRMAbJX8g5b+mCEKZzE1BS1JI= Received: from mail.maildlp.com (unknown [172.19.163.235]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4VQGby4Jrhz4f3n6p for ; Thu, 25 Apr 2024 21:17:18 +0800 (CST) Received: from mail02.huawei.com (unknown [10.116.40.252]) by mail.maildlp.com (Postfix) with ESMTP id D5B481A0572 for ; Thu, 25 Apr 2024 21:17:27 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.101.6]) by APP3 (Coremail) with SMTP id _Ch0CgA3+J_kVypmFDcOKw--.42283S6; Thu, 25 Apr 2024 21:17:27 +0800 (CST) From: Kemeng Shi To: willy@infradead.org, akpm@linux-foundation.org Cc: tj@kernel.org, jack@suse.cz, hcochran@kernelspring.com, axboe@kernel.dk, mszeredi@redhat.com, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/4] mm: remove stale comment __folio_mark_dirty Date: Thu, 25 Apr 2024 21:17:24 +0800 Message-Id: <20240425131724.36778-5-shikemeng@huaweicloud.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20240425131724.36778-1-shikemeng@huaweicloud.com> References: <20240425131724.36778-1-shikemeng@huaweicloud.com> MIME-Version: 1.0 X-CM-TRANSID: _Ch0CgA3+J_kVypmFDcOKw--.42283S6 X-Coremail-Antispam: 1UD129KBjvdXoW7Gr18Zw1ktF4rGFy3JF1kXwb_yoW3uwb_u3 W8trn8X3y7Kr1xAay2vas3Aw1v9a1DCFy8ZF1ftFnrCa4Fyrs5ZFs5trs0yr1DKr4UWFZF kFnrZr45Ar9rKjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbS8YFVCjjxCrM7AC8VAFwI0_Wr0E3s1l1xkIjI8I6I8E6xAIw20E Y4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l82xGYIkIc2x26280x7IE14v26r126s 0DM28IrcIa0xkI8VCY1x0267AKxVW5JVCq3wA2ocxC64kIII0Yj41l84x0c7CEw4AK67xG Y2AK021l84ACjcxK6xIIjxv20xvE14v26F1j6w1UM28EF7xvwVC0I7IYx2IY6xkF7I0E14 v26r4UJVWxJr1l84ACjcxK6I8E87Iv67AKxVW0oVCq3wA2z4x0Y4vEx4A2jsIEc7CjxVAF wI0_GcCE3s1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE5I8CrVC2j2 WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkE bVWUJVW8JwACjcxG0xvY0x0EwIxGrwACI402YVCY1x02628vn2kIc2xKxwCF04k20xvY0x 0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E 7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcV C0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF 04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7 CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07UZo7tUUUUU= X-CM-SenderInfo: 5vklyvpphqwq5kxd4v5lfo033gof0z/ X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: A6F8910001B X-Stat-Signature: hurwj6hod1omfgoei7bknq65b5rrahwf X-Rspam-User: X-HE-Tag: 1714051051-343904 X-HE-Meta: U2FsdGVkX19zjtilNPS34eWC2M6X5VJTk4FxvRYrIxFH986yJuFQAciA8msrJqh07UICh9jUUNxVz46IW55BqW6vhTHyIWRSScRvM1xErZwZfIlx7wZwV8t7EEc8UWRQSOrr7LwmUMFzfUeXBXBziBHeLjIXHnm/DeRasWBrtTx1OaZPf8tLMHOvDpHbZejIxX3W6FFBFsMApX+lxLwCgVX76bq+PzV33ADu/tV4L5TsM/yTlAgQ4uJSfxkAcDLyaluC2+PaJVvb+6QMWCbJ3bENj3JMBKSE4GI19qp3PnqzVq5v9gF2Vx5lL5KBuq76Og4CF3V/Houw30MA79zocxohQ9vClWMc4TMHap/c+rl8m7SJ+dhdqsCRyX7xjEtWfiJyWMarfCxTWADQLAv+ieh7o1gZBGXEnyHK1RyqN//pfSa104Uq4D21uJVY+7qwFcuiKICBWgmsVE3Raed4Q8bbVYkz1JaAj7CEafeo08xqXduy6uH8lUeTGxvYPc4KOTAmnN4GKXi17n7UQLaPOSRLB4nz84lg9g/EzrYAQ+oRpQFUSYsfWBp7PCaCu2Xld+r+sjXZ8bVRrvyWTO/qj8j+pPXHLDbW4yQFUTijWgTHLNAVXpyMk6n14hSd8oTj6v4RIhUD8wPgC7qeQy5lXvTyOZGe0Knmx1JVNORPENUk7Rycyk1p/a84ZpJYDplhZCrjJIG6ZOEo45z2KGLzR7pFoZ2+EI9CNHnHEbTasYpGG2b8ujcrGGBFyOnR0R7TS4qcD9+1bEPZ9JY1lHb+xV62CAU3m50JxH0NL9kEdn4BBDRXB6O3jq8XtlsaTCIVemZqIzR1U3ozHNyANeefSVScbSGzrt61AqdKchSJjYLxc/bKlHayhYNjWF4kRsEZyR7nu+N113X1kb/78il7ctOlacqbjm/vO102Wz/Uu+znqHB6qluvFjXHY1+4nIS/T1V0q6fWlxQ8j3LGRd3 WUPLDIKH 013gUct1PaM+4iPEFZhxVc+rls81iK469qR/pwUoml9+PKI97TCf4BMSzAekACS4eIlVCQWYLYGCv9vMEvulggpdbc4+vNw1N7tCXeATEVWgZWcx14freFeOcIjQeEWeHjDX8FCFlb3wKMFYacMBgrxpMC7ILmBy3kRPw7nT9uWcbTx+MgWOhBtrTKJAA8+Ok4rumQMf5Kl6SR3oKMEOrXvPOtsLtsmc3iluuNCWfu/+gE9hKpToAa0AzX4gv66r0wXMM5/Ux1Dvf/WPL8JhP6MdKA3KxWqE9ABCNKCGp/esbWy+3uBwBpnn6Exz7Ru5xDvSxGu6BP9FIy4Lyj5dWoAKNecjHuSbT/JKl 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) Reviewed-by: Jan Kara --- 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 22e1acec899e..692c0da04cbd 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -2721,8 +2721,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.