Skip to contentSkip to conversation

writeback: Remove meaningless comment

PATCH In review JunChao Sun 1 participant 2 messages Nov 14, 2022 – Nov 18, 2022 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 writeback: Remove meaningless comment

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.

---
 fs/fs-writeback.c | 4 ----
 1 file changed, 4 deletions(-)
fs/fs-writeback.c +0 -4
index 443f83382b9b..78be6762522a 100644
@@ -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)
 {
Signature · 1 line
2.17.1
#1 lore raw

friendly ping...

Quoted 28 lines · JunChao Sun <[email protected]> 于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.

---
 fs/fs-writeback.c | 4 ----
 1 file changed, 4 deletions(-)
fs/fs-writeback.c +0 -5
index 443f83382b9b..78be6762522a 100644
@@ -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