summaryrefslogtreecommitdiff
path: root/include/linux/lsm_hook_defs.h
diff options
context:
space:
mode:
authorVishal Moola (Oracle) <vishal.moola@gmail.com>2023-01-04 13:14:26 -0800
committerAndrew Morton <akpm@linux-foundation.org>2023-02-02 22:33:13 -0800
commitee7a5906ff08e435ed95ec9fe7c7eed2c11015d2 (patch)
treef0432dfe2e1ca6c083082763c5289afa18452612 /include/linux/lsm_hook_defs.h
parent2cf1338454a8a9a0b3c1271ccb521afa2d6ae241 (diff)
pagemap: add filemap_grab_folio()
Patch series "Convert to filemap_get_folios_tag()", v5. This patch series replaces find_get_pages_range_tag() with filemap_get_folios_tag(). This also allows the removal of multiple calls to compound_head() throughout. It also makes a good chunk of the straightforward conversions to folios, and takes the opportunity to introduce a function that grabs a folio from the pagecache. This patch (of 23): Add function filemap_grab_folio() to grab a folio from the page cache. This function is meant to serve as a folio replacement for grab_cache_page, and is used to facilitate the removal of find_get_pages_range_tag(). Link: https://lkml.kernel.org/r/20230104211448.4804-1-vishal.moola@gmail.com Link: https://lkml.kernel.org/r/20230104211448.4804-2-vishal.moola@gmail.com Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/lsm_hook_defs.h')
0 files changed, 0 insertions, 0 deletions