diff mbox series

filemap: Remove __set_page_dirty()

Message ID 20240327185447.1076689-1-willy@infradead.org (mailing list archive)
State New
Headers show
Series filemap: Remove __set_page_dirty() | expand

Commit Message

Matthew Wilcox March 27, 2024, 6:54 p.m. UTC
All callers have been converted to use folios; remove this wrapper.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
---
 include/linux/pagemap.h | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index 2df35e65557d..dddbabdb8099 100644
--- a/include/linux/pagemap.h
+++ b/include/linux/pagemap.h
@@ -1144,11 +1144,6 @@  void folio_end_writeback(struct folio *folio);
 void wait_for_stable_page(struct page *page);
 void folio_wait_stable(struct folio *folio);
 void __folio_mark_dirty(struct folio *folio, struct address_space *, int warn);
-static inline void __set_page_dirty(struct page *page,
-		struct address_space *mapping, int warn)
-{
-	__folio_mark_dirty(page_folio(page), mapping, warn);
-}
 void folio_account_cleaned(struct folio *folio, struct bdi_writeback *wb);
 void __folio_cancel_dirty(struct folio *folio);
 static inline void folio_cancel_dirty(struct folio *folio)