diff options
| author | 2026-06-01 19:04:23 +0800 | |
|---|---|---|
| committer | 2026-06-08 18:21:31 -0700 | |
| commit | a51cbdf02aec619f90db7e9f06e295adb8009d4d (patch) | |
| tree | 3b93e62ab3efd8cec92018bcf8f7d4acf4cb7d3f /tools/lib/python | |
| parent | vmalloc: fix NULL pointer dereference in is_vm_area_hugepages() (diff) | |
mm/filemap: use folio_next_index() for start
Use folio_next_index() instead of open-coding folio->index +
folio_nr_pages(folio) when updating @start in filemap_get_folios_contig(),
filemap_get_folios_tag(), and filemap_get_folios_dirty().
Link: https://lore.kernel.org/20260601110425.44784-1-tanze@kylinos.cn
Signed-off-by: tanze <tanze@kylinos.cn>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
