]> git.baikalelectronics.ru Git - kernel.git/commit
mm/filemap: fold ra_submit into do_sync_mmap_readahead
authorDavid Howells <dhowells@redhat.com>
Fri, 16 Oct 2020 03:06:31 +0000 (20:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 Oct 2020 18:11:16 +0000 (11:11 -0700)
commitc50db9ef55ffa7545fea9b3c79375a36b3d5c6a7
tree046f42a1cba6cf374fccf30aecf980efeea96643
parent41a0840d8f70a8ec858d77e4fcc04634c64d4ef9
mm/filemap: fold ra_submit into do_sync_mmap_readahead

Fold ra_submit() into its last remaining user and pass the
readahead_control struct to both do_page_cache_ra() and
page_cache_sync_ra().

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Eric Biggers <ebiggers@google.com>
Link: https://lkml.kernel.org/r/20200903140844.14194-9-willy@infradead.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/filemap.c
mm/internal.h