]> git.proxmox.com Git - mirror_zfs.git/commit - config/kernel.m4
Linux 6.8 compat: handle mnt_idmap user_namespace change
authorRob Norris <robn@despairlabs.com>
Tue, 23 Jan 2024 10:14:06 +0000 (21:14 +1100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 29 Jan 2024 19:36:07 +0000 (11:36 -0800)
commit2e6b3c4d9453360a351af6148386360a3a7209b3
treec23eefdade0404f3da4b0a8b5df2d4662ff65b00
parent7a2e54b7d358d7b95ce539389fa480e259a95ae3
Linux 6.8 compat: handle mnt_idmap user_namespace change

struct mnt_idmap no longer has a struct user_namespace within it. Work
around this by creating a temporary with the copy of the map we need
taken from the idmap.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Co-authored-by: Youzhong Yang <yyang@mathworks.com>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://despairlabs.com/sponsor/
Closes #15805
config/kernel-idmap_mnt_api.m4
config/kernel.m4
include/os/linux/spl/sys/cred.h
include/os/linux/spl/sys/types.h