Commit ab428b4c authored by Jianguo Bao's avatar Jianguo Bao Committed by Andrew Morton

mm/writeback: update filemap_dirty_folio() comment

Change to use new address space operation dirty_folio().

Link: https://lkml.kernel.org/r/20230917-trycontrib1-v1-1-db22630b8839@gmail.com
Fixes: 6f31a5a2 ("fs: Add aops->dirty_folio")
Signed-off-by: default avatarJianguo Bau <roidinev@gmail.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent d57d36b5
...@@ -2679,7 +2679,7 @@ void __folio_mark_dirty(struct folio *folio, struct address_space *mapping, ...@@ -2679,7 +2679,7 @@ void __folio_mark_dirty(struct folio *folio, struct address_space *mapping,
* @folio: Folio to be marked as dirty. * @folio: Folio to be marked as dirty.
* *
* Filesystems which do not use buffer heads should call this function * 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 * contents of folio_get_private(), so if the filesystem marks individual
* blocks as dirty, the filesystem should handle that itself. * blocks as dirty, the filesystem should handle that itself.
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment