diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-05-01 00:27:53 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-05-09 23:12:33 -0400 |
commit | 704ead2bed202579f025a4754e52e9ab21ff3ada (patch) | |
tree | 30bb4d3cb8edcd45a6e28120de0b084f3be8c7da /mm/filemap.c | |
parent | bcaabc55491203f90eb8b8807e9948028ea53bd7 (diff) |
fs: Remove last vestiges of releasepage
All users are now converted to release_folio
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'mm/filemap.c')
-rw-r--r-- | mm/filemap.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index 78e4a7dc3a56..ee892853a214 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -3957,8 +3957,6 @@ bool filemap_release_folio(struct folio *folio, gfp_t gfp) if (mapping && mapping->a_ops->release_folio) return mapping->a_ops->release_folio(folio, gfp); - if (mapping && mapping->a_ops->releasepage) - return mapping->a_ops->releasepage(&folio->page, gfp); return try_to_free_buffers(&folio->page); } EXPORT_SYMBOL(filemap_release_folio); |