diff mbox series

writeback: Remove meaningless comment

Message ID 20221114110253.8827-1-sunjunchao2870@gmail.com (mailing list archive)
State New, archived
Headers show
Series writeback: Remove meaningless comment | expand

Commit Message

Julian Sun Nov. 14, 2022, 11:02 a.m. UTC
nr_pages was removed in 9ba4b2dfafaa
("fs: kill 'nr_pages' argument from wakeup_flusher_threads()"),
but the comment for 'nr_pages' was missed. Remove that.

Signed-off-by: JunChao Sun <sunjunchao2870@gmail.com>
---
 fs/fs-writeback.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Julian Sun Nov. 18, 2022, 9:20 a.m. UTC | #1
friendly ping...

JunChao Sun <sunjunchao2870@gmail.com> 于2022年11月14日周一 19:03写道:
>
> nr_pages was removed in 9ba4b2dfafaa
> ("fs: kill 'nr_pages' argument from wakeup_flusher_threads()"),
> but the comment for 'nr_pages' was missed. Remove that.
>
> Signed-off-by: JunChao Sun <sunjunchao2870@gmail.com>
> ---
>  fs/fs-writeback.c | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
> index 443f83382b9b..78be6762522a 100644
> --- a/fs/fs-writeback.c
> +++ b/fs/fs-writeback.c
> @@ -2244,10 +2244,6 @@ void wb_workfn(struct work_struct *work)
>                 wb_wakeup_delayed(wb);
>  }
>
> -/*
> - * Start writeback of `nr_pages' pages on this bdi. If `nr_pages' is zero,
> - * write back the whole world.
> - */
>  static void __wakeup_flusher_threads_bdi(struct backing_dev_info *bdi,
>                                          enum wb_reason reason)
>  {
> --
> 2.17.1
>
diff mbox series

Patch

diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 443f83382b9b..78be6762522a 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -2244,10 +2244,6 @@  void wb_workfn(struct work_struct *work)
 		wb_wakeup_delayed(wb);
 }
 
-/*
- * Start writeback of `nr_pages' pages on this bdi. If `nr_pages' is zero,
- * write back the whole world.
- */
 static void __wakeup_flusher_threads_bdi(struct backing_dev_info *bdi,
 					 enum wb_reason reason)
 {