]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 5.18+ compat: Detect filemap_range_has_page
authorRobert Evans <evansr@google.com>
Sat, 30 Mar 2024 00:11:52 +0000 (20:11 -0400)
committerGitHub <noreply@github.com>
Sat, 30 Mar 2024 00:11:52 +0000 (17:11 -0700)
commit39be46f43f96fb7420386d03751b01f5cb376d6b
treeb506f5269e3ef3514da638a880a3d44f545ad3aa
parent2553f94c4299aaf31c5ceea4bfbfcc811cf76513
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