diff options
author | Matthew Wilcox (Oracle) <[email protected]> | 2023-08-22 21:23:35 +0100 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-08-24 16:20:31 -0700 |
commit | 8f9ff2deb8b91ad1cba666c7adbe4ca79e2d3225 (patch) | |
tree | 7ccd50ea802f90c07ca26d685a7104a5f0835da6 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 7db15418d390cf878d7c77ae08a4ad39f1534bc5 (diff) |
secretmem: convert page_is_secretmem() to folio_is_secretmem()
The only caller already has a folio, so use it to save calling
compound_head() in PageLRU() and remove a use of page->mapping.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Mike Rapoport (IBM) <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions