]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/filemap: Pass the file_ra_state in the ractl
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 7 Apr 2021 20:18:55 +0000 (21:18 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 7 Apr 2021 23:08:25 +0000 (00:08 +0100)
commit2347f5e22e8d39d0df373d0ba7916214a2b5e99b
tree85abae2f3599149bbc1f6cfc60085b13656b2771
parent9d56878a25b4be61d39c8cddaae1c3bcdf49a53e
mm/filemap: Pass the file_ra_state in the ractl

For readahead_expand(), we need to modify the file ra_state, so pass it
down by adding it to the ractl.  We have to do this because it's not always
the same as f_ra in the struct file that is already being passed.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20210407201857.3582797-2-willy@infradead.org/
fs/ext4/verity.c
fs/f2fs/file.c
fs/f2fs/verity.c
include/linux/pagemap.h
mm/filemap.c
mm/internal.h
mm/readahead.c