diff options
| author | Minjie Du <[email protected]> | 2023-09-21 16:15:35 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-06 14:44:11 -0700 |
| commit | d98388cef5315d0235fdcad26600102f54966927 (patch) | |
| tree | c0e96caec89ca6e2876cf1689274b14b243d8227 /include/uapi/linux/errqueue.h | |
| parent | 2dc539ac4d2f556105ea7e2a37d23379a79a47eb (diff) | |
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_map_pages().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Minjie Du <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Yin Fengwei <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions