diff options
| author | Vishal Moola (Oracle) <[email protected]> | 2022-08-23 17:40:18 -0700 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-11 20:26:02 -0700 |
| commit | 04c6b79ae4f0bcbd96afd7cea5e1a8848162438e (patch) | |
| tree | 7699069a60f3fa058d028b1b50fe9f7fd7ee89c5 /tools/perf/scripts/python | |
| parent | 35b471467f88b8d8b52ba5b006a29b9d057d09bf (diff) | |
btrfs: convert __process_pages_contig() to use filemap_get_folios_contig()
Convert to use folios throughout. This is in preparation for the removal
of find_get_pages_contig(). Now also supports large folios.
Since we may receive more than nr_pages pages, nr_pages may underflow.
Since nr_pages > 0 is equivalent to index <= end_index, we replaced it
with this check instead.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Vishal Moola (Oracle) <[email protected]>
Acked-by: David Sterba <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Chris Mason <[email protected]>
Cc: David Sterba <[email protected]>
Cc: Josef Bacik <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Ryusuke Konishi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions