diff options
author | David Howells <dhowells@redhat.com> | 2020-10-16 05:06:35 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-10-16 20:11:16 +0200 |
commit | b1647dc0deef6e923e30c46f28bf5679125c9a10 (patch) | |
tree | 53734204747a75887253093b6784f8f662c32cef /net/atm | |
parent | mm/filemap: fold ra_submit into do_sync_mmap_readahead (diff) | |
download | linux-b1647dc0deef6e923e30c46f28bf5679125c9a10.tar.xz linux-b1647dc0deef6e923e30c46f28bf5679125c9a10.zip |
mm/readahead: pass a file_ra_state into force_page_cache_ra
The file_ra_state being passed into page_cache_sync_readahead() was being
ignored in favour of using the one embedded in the struct file. The only
caller for which this makes a difference is the fsverity code if the file
has been marked as POSIX_FADV_RANDOM, but it's confusing and worth fixing.
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-10-willy@infradead.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions