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
Tony Hutter <hutter2@llnl.gov>Committed on Apr 22 2024, 4:23 PM
Parents
rG3fb0942cc5fb: udev: correctly handle partition #16 and later
Branches
Unknown
Tags
Unknown

Event Timeline

Tony Hutter <hutter2@llnl.gov> committed rG5dbed504295e: Linux 5.18+ compat: Detect filemap_range_has_page (authored by Robert Evans <evansr@google.com>).Apr 22 2024, 4:23 PM