]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitdb660d462525c4a152b25e033c3dfa9c25d188e6
tree046f42a1cba6cf374fccf30aecf980efeea96643
parentfefa7c478fdafe71c64b5ddf817ac0271aed1146
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