Linux 5.18+ compat: Detect filemap_range_has_page
commit5dbed504295ef4c8dbde54ef712812cd485a81e6
authorRobert Evans <evansr@google.com>
Sat, 30 Mar 2024 00:11:52 +0000 (29 20:11 -0400)
committerTony Hutter <hutter2@llnl.gov>
Mon, 22 Apr 2024 16:23:23 +0000 (22 09:23 -0700)
tree5c6c3bcb74b736667dbe0c0fa1cced872c86d8b9
parent3fb0942cc5fb216ac733da94930e11a64e589d38
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
config/kernel-filemap.m4