diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-05-03 16:06:55 +0200 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-10-18 13:49:40 +0200 |
commit | 25ff8b15537dfa0e1a62d55cfcc48f3c8bd8a76c (patch) | |
tree | f50a324e290eec40bbe0876b2a901a1b20124856 /mm/folio-compat.c | |
parent | mm/writeback: Add folio_clear_dirty_for_io() (diff) | |
download | linux-25ff8b15537dfa0e1a62d55cfcc48f3c8bd8a76c.tar.xz linux-25ff8b15537dfa0e1a62d55cfcc48f3c8bd8a76c.zip |
mm/writeback: Add folio_account_redirty()
Account the number of pages in the folio that we're redirtying.
Turn account_page_dirty() into a wrapper around it. Also turn
the comment on folio_account_redirty() into kernel-doc and
edit it slightly so it makes sense to its potential callers.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Howells <dhowells@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Diffstat (limited to 'mm/folio-compat.c')
0 files changed, 0 insertions, 0 deletions