afs: introduce get_dcache_readahead 62/14962/8
authorCheyenne Wills <cwills@sinenomine.net>
Thu, 9 Jun 2022 19:20:02 +0000 (13:20 -0600)
committerBenjamin Kaduk <kaduk@mit.edu>
Mon, 20 Jun 2022 18:35:38 +0000 (14:35 -0400)
commit44e24ae5d7dc41e54d23638d5f64ab2e81e43ad0
tree14d11f8191a99103a9b7ec167be653161176730e
parent209eb92448001e59525413610356070d8e4f10a0
afs: introduce get_dcache_readahead

Relocate the block of code that obtains the dcache for a readahead
operation from the afs_linux_readpages function into its own static
function.

Change-Id: Iaaf9523532e292a1f2426d5ced65ddfbceb5d060
Reviewed-on: https://gerrit.openafs.org/14962
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/LINUX/osi_vnodeops.c