mm: remove folio_account_redirty
Fold folio_account_redirty into folio_redirty_for_writepage now that all other users except for the also unused account_page_redirty wrapper are gone. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
256b0cf90d
commit
ed2da9246f
2 changed files with 14 additions and 40 deletions
|
|
@ -375,11 +375,6 @@ void tag_pages_for_writeback(struct address_space *mapping,
|
|||
pgoff_t start, pgoff_t end);
|
||||
|
||||
bool filemap_dirty_folio(struct address_space *mapping, struct folio *folio);
|
||||
void folio_account_redirty(struct folio *folio);
|
||||
static inline void account_page_redirty(struct page *page)
|
||||
{
|
||||
folio_account_redirty(page_folio(page));
|
||||
}
|
||||
bool folio_redirty_for_writepage(struct writeback_control *, struct folio *);
|
||||
bool redirty_page_for_writepage(struct writeback_control *, struct page *);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue