summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorMinjie Du <duminjie@vivo.com>2023-09-21 16:15:35 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-10-06 14:44:11 -0700
commitd98388cef5315d0235fdcad26600102f54966927 (patch)
treec0e96caec89ca6e2876cf1689274b14b243d8227 /include/linux/workqueue.h
parent2dc539ac4d2f556105ea7e2a37d23379a79a47eb (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/20230921081535.3398-1-duminjie@vivo.com Signed-off-by: Minjie Du <duminjie@vivo.com> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions