aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2024-06-25 12:18:54 +0200
committerAndrew Morton <[email protected]>2024-07-03 19:30:27 -0700
commit878343dfa491e5c29bb6741a798229f051d3c8eb (patch)
tree36c782d69bddc6a00d92e62ca5ff41cfb08a54a2 /include/linux
parent7c877586da3178974a8a94577b6045a48377ff25 (diff)
readahead: drop pointless index from force_page_cache_ra()
Current index to readahead is tracked in readahead_control and properly updated by page_cache_ra_unbounded() (read_pages() in fact). So there's no need to track the index separately in force_page_cache_ra(). Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Jan Kara <[email protected]> Reviewed-by: Josef Bacik <[email protected]> Tested-by: Zhang Peng <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions