HomeFreeBSD

Linux 5.18 compat: use address_space_operations->readahead

Description

Linux 5.18 compat: use address_space_operations->readahead

->readpages was removed and replaced by ->readahead. Define
zpl_readahead for kernels that don't have ->readpages.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Riccardo Schirone <rschirone91@gmail.com>
Closes #13278

Details

Provenance
Riccardo Schirone <rschirone91@gmail.com>Authored on Apr 1 2022, 11:15 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Apr 4 2022, 4:35 PM
Parents
rG036e846abc84: Linux 5.18 compat: blkg_tryget is moved to private headers
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG7d524c068d62: Linux 5.18 compat: use address_space_operations->readahead (authored by Riccardo Schirone <rschirone91@gmail.com>).Apr 4 2022, 4:35 PM