diff options
author | Minjie Du <duminjie@vivo.com> | 2023-11-07 05:46:34 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-12-11 03:51:35 +0300 |
commit | 8ff252663d30f5c0bcb0bb336c1a5ed7c37d9730 (patch) | |
tree | 1983f06a0157fa27708b00731b3e00cd415faa47 /Documentation/admin-guide/mm | |
parent | 4eca0ef49af9b2b0c52ef2b58e045ab34629796b (diff) | |
download | linux-8ff252663d30f5c0bcb0bb336c1a5ed7c37d9730.tar.xz |
mm/filemap: increase usage of folio_next_index() helper
Simplify code pattern of 'folio->index + folio_nr_pages(folio)' by using
the existing helper folio_next_index() in filemap_get_folios_contig().
Link: https://lkml.kernel.org/r/20231107024635.4512-1-duminjie@vivo.com
Signed-off-by: Minjie Du <duminjie@vivo.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/admin-guide/mm')
0 files changed, 0 insertions, 0 deletions