HomeFreeBSD

Linux 5.18+ compat: Detect filemap_range_has_page

Description

Linux 5.18+ compat: Detect filemap_range_has_page

In v5.18 filemap_range_has_page moved to pagemap.h

pagemap.h has been around since 3.10 so just include both

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rob Norris <robn@despairlabs.com>
Signed-off-by: Robert Evans <evansr@google.com>
Closes #16034

Details

Provenance
Robert Evans <evansr@google.com>Authored on Mar 30 2024, 12:11 AM
GitHub <noreply@github.com>Committed on Mar 30 2024, 12:11 AM
Parents
rG2553f94c4299: Fix buffer underflow if sysfs file is empty
Branches
Unknown
Tags
Unknown