diff options
author | Rob Norris <[email protected]> | 2024-07-31 18:43:39 +1000 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2024-08-22 15:42:14 -0700 |
commit | 8156099cf24fb12d113235a2311b6c9257c587c3 (patch) | |
tree | f43279a999d169768ff03635bc2a21dcad4cbc05 /module/os/linux | |
parent | 11ad6124c308adcc1740d0de11855e418a49635f (diff) |
Linux 6.11: add compat macro for page_mapping()
Since the change to folios it has just been a wrapper anyway. Linux has
removed their wrapper, so we add one.
Reviewed-by: Tony Hutter <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Rob Norris <[email protected]>
Sponsored-by: https://despairlabs.com/sponsor/
Closes #16400
Diffstat (limited to 'module/os/linux')
-rw-r--r-- | module/os/linux/zfs/zfs_vnops_os.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/os/linux/zfs/zfs_vnops_os.c b/module/os/linux/zfs/zfs_vnops_os.c index be528f6e8..fb871ed8c 100644 --- a/module/os/linux/zfs/zfs_vnops_os.c +++ b/module/os/linux/zfs/zfs_vnops_os.c @@ -69,6 +69,7 @@ #include <sys/zpl.h> #include <sys/zil.h> #include <sys/sa_impl.h> +#include <linux/mm_compat.h> /* * Programming rules. |