summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2025-02-18 08:51:45 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2025-03-04 20:02:25 +0300
commite33ce6bd4ea2703444509cafb3646a547573fbc3 (patch)
tree0f74147e623a195c0ae462a5559d2cb540031763 /include/linux
parent8d77f68daeb19b5568e1ceee682a00327a6ca77c (diff)
downloadlinux-e33ce6bd4ea2703444509cafb3646a547573fbc3.tar.xz
mm: Remove grab_cache_page_write_begin()
All callers have now been converted to use folios, so remove this compatibility wrapper. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pagemap.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index a19d8e334194..45817e2106ee 100644
--- a/include/linux/pagemap.h
+++ b/include/linux/pagemap.h
@@ -990,9 +990,6 @@ unsigned filemap_get_folios_contig(struct address_space *mapping,
unsigned filemap_get_folios_tag(struct address_space *mapping, pgoff_t *start,
pgoff_t end, xa_mark_t tag, struct folio_batch *fbatch);
-struct page *grab_cache_page_write_begin(struct address_space *mapping,
- pgoff_t index);
-
/*
* Returns locked page at given index in given cache, creating it if needed.
*/