diff options
author | Vishal Moola (Oracle) <vishal.moola@gmail.com> | 2022-08-24 02:40:21 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-09-12 05:26:03 +0200 |
commit | 24a1efb4a91283c853a31fa4775d5c10c09129a4 (patch) | |
tree | 66ad6bd32c55ba1bdeff73f0153b733d48d102b0 /Documentation/admin-guide | |
parent | btrfs: convert process_page_range() to use filemap_get_folios_contig() (diff) | |
download | linux-24a1efb4a91283c853a31fa4775d5c10c09129a4.tar.xz linux-24a1efb4a91283c853a31fa4775d5c10c09129a4.zip |
nilfs2: convert nilfs_find_uncommited_extent() to use filemap_get_folios_contig()
Convert function to use folios throughout. This is in preparation for the
removal of find_get_pages_contig(). Now also supports large folios.
Also clean up an unnecessary if statement - pvec.pages[0]->index > index
will always evaluate to false, and filemap_get_folios_contig() returns 0
if there is no folio found at index.
Link: https://lkml.kernel.org/r/20220824004023.77310-6-vishal.moola@gmail.com
Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Acked-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Chris Mason <clm@fb.com>
Cc: David Sterba <dsterba@suse.com>
Cc: David Sterba <dsterb@suse.com>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/admin-guide')
0 files changed, 0 insertions, 0 deletions