diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2025-04-03 00:06:09 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-05-12 03:48:06 +0300 |
| commit | 41e422a898da69e903a846dfb2b0c0ff62abc3cd (patch) | |
| tree | bd84494b5f7ed51b579f58ab1a3e91004fc34945 /include/linux | |
| parent | 8dfc8cbf7b07da172b3a4c8bea064e84fbfa5d56 (diff) | |
| download | linux-41e422a898da69e903a846dfb2b0c0ff62abc3cd.tar.xz | |
filemap: remove readahead_page_batch()
This function has no more callers; delete it.
Link: https://lkml.kernel.org/r/20250402210612.2444135-8-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/pagemap.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index c5c9b3770d75..af25fb640463 100644 --- a/include/linux/pagemap.h +++ b/include/linux/pagemap.h @@ -1448,20 +1448,6 @@ static inline unsigned int __readahead_batch(struct readahead_control *rac, } /** - * readahead_page_batch - Get a batch of pages to read. - * @rac: The current readahead request. - * @array: An array of pointers to struct page. - * - * Context: The pages are locked and have an elevated refcount. The caller - * should decreases the refcount once the page has been submitted for I/O - * and unlock the page once all I/O to that page has completed. - * Return: The number of pages placed in the array. 0 indicates the request - * is complete. - */ -#define readahead_page_batch(rac, array) \ - __readahead_batch(rac, array, ARRAY_SIZE(array)) - -/** * readahead_pos - The byte offset into the file of this readahead request. * @rac: The readahead request. */ |
