diff options
author | David Howells <[email protected]> | 2023-02-08 18:18:17 +0000 |
---|---|---|
committer | Steve French <[email protected]> | 2023-02-20 17:25:43 -0600 |
commit | dd5b9d003ebcb469de05f967af7164e6b9450ca2 (patch) | |
tree | 9740a98d854f1da6ebf445cbc7ac311d21993180 /rust/helpers.c | |
parent | eb3e28c1e89b4984308777231887e41aa8a0151f (diff) |
mm: Pass info, not iter, into filemap_get_pages()
filemap_get_pages() and a number of functions that it calls take an
iterator to provide two things: the number of bytes to be got from the file
specified and whether partially uptodate pages are allowed. Change these
functions so that this information is passed in directly. This allows it
to be called without having an iterator to hand.
Signed-off-by: David Howells <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jens Axboe <[email protected]>
cc: Christoph Hellwig <[email protected]>
cc: Matthew Wilcox <[email protected]>
cc: Al Viro <[email protected]>
cc: David Hildenbrand <[email protected]>
cc: John Hubbard <[email protected]>
cc: [email protected]
cc: [email protected]
cc: [email protected]
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions