]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mm/page-writeback.c: Fix comment of wb_domain_writeout_add()
authorTang Yizhou <yizhou.tang@shopee.com>
Wed, 9 Oct 2024 15:17:28 +0000 (23:17 +0800)
committerChristian Brauner <brauner@kernel.org>
Tue, 22 Oct 2024 09:16:58 +0000 (11:16 +0200)
__bdi_writeout_inc() has undergone multiple renamings, but the comment
within the function body have not been updated accordingly. Update it
to reflect the latest wb_domain_writeout_add().

Signed-off-by: Tang Yizhou <yizhou.tang@shopee.com>
Link: https://lore.kernel.org/r/20241009151728.300477-3-yizhou.tang@shopee.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
mm/page-writeback.c

index c7c6b58a8461ca0560efbed003c679b4385e97b8..72a5d883642502d5dbd5e909806aa537ae0facf8 100644 (file)
@@ -586,7 +586,7 @@ static void wb_domain_writeout_add(struct wb_domain *dom,
        /* First event after period switching was turned off? */
        if (unlikely(!dom->period_time)) {
                /*
-                * We can race with other __bdi_writeout_inc calls here but
+                * We can race with other wb_domain_writeout_add calls here but
                 * it does not cause any harm since the resulting time when
                 * timer will fire and what is in writeout_period_time will be
                 * roughly the same.