]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit63acc83381fff77326d0d6e9f25b5f4b26e6512b
treeb16f6dd1ea098f7d49a3f8fb3bb5598825515a31
parent5a71be5e0524e6484e9994266e761b87270dff6c
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