[PATCH] mm/writeback: Update filemap_dirty_folio() comment

From: Jianguo Bau via B4 Relay
Date: Sun Sep 17 2023 - 11:05:57 EST


From: Jianguo Bau <roidinev@xxxxxxxxx>

Change to use new address space operation dirty_folio

Signed-off-by: Jianguo Bau <roidinev@xxxxxxxxx>
---
mm/page-writeback.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index b8d3d7040a50..001adbb4a180 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -2679,7 +2679,7 @@ void __folio_mark_dirty(struct folio *folio, struct address_space *mapping,
* @folio: Folio to be marked as dirty.
*
* Filesystems which do not use buffer heads should call this function
- * from their set_page_dirty address space operation. It ignores the
+ * from their dirty_folio address space operation. It ignores the
* contents of folio_get_private(), so if the filesystem marks individual
* blocks as dirty, the filesystem should handle that itself.
*

---
base-commit: f0b0d403eabbe135d8dbb40ad5e41018947d336c
change-id: 20230917-trycontrib1-cb8ff840794c

Best regards,
--
Jianguo Bau <roidinev@xxxxxxxxx>