summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorTang Yizhou <yizhou.tang@shopee.com>2024-10-09 17:17:28 +0200
committerChristian Brauner <brauner@kernel.org>2024-10-22 11:16:58 +0200
commit98f3ac9ba0ec35ff276e6c64ac9f173efa27df78 (patch)
treecfdcccc697192b23943ce05266818bdfa5317ef7 /mm
parentmm/page-writeback.c: Update comment for BANDWIDTH_INTERVAL (diff)
downloadlinux-98f3ac9ba0ec35ff276e6c64ac9f173efa27df78.tar.xz
linux-98f3ac9ba0ec35ff276e6c64ac9f173efa27df78.zip
mm/page-writeback.c: Fix comment of wb_domain_writeout_add()
__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>
Diffstat (limited to 'mm')
-rw-r--r--mm/page-writeback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index c7c6b58a8461..72a5d8836425 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -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.