mm: remove the skip_page argument to read_pages
authorChristoph Hellwig <hch@lst.de>
Thu, 31 Mar 2022 12:35:55 +0000 (05:35 -0700)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 1 Apr 2022 17:45:52 +0000 (13:45 -0400)
commitb4e089d705eef82364945abae325cd241c80e107
treeb16f6dd1ea098f7d49a3f8fb3bb5598825515a31
parentdfd8b4fc76d5f7ae5663328b791c4acf222c4d39
mm: remove the skip_page argument to read_pages

The skip_page argument to read_pages controls if rac->_index is
incremented before returning from the function.  Just open code that in
the callers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
mm/readahead.c