mirror_zfs/include/os/linux/kernel/linux
Coleman Kane e2a8296131
Linux 5.12 compat: idmapped mounts
In Linux 5.12, the filesystem API was modified to support ipmapped
mounts by adding a "struct user_namespace *" parameter to a number
functions and VFS handlers. This change adds the needed autoconf
macros to detect the new interfaces and updates the code appropriately.
This change does not add support for idmapped mounts, instead it
preserves the existing behavior by passing the initial user namespace
where needed.  A subsequent commit will be required to add support
for idmapped mounted.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Co-authored-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #11712
2021-03-19 21:00:59 -07:00
..
blkdev_compat.h Linux 5.12 compat: replace bio_*_io_acct with disk_*_io_acct 2021-02-24 10:06:05 -08:00
compiler_compat.h OpenZFS restructuring - move platform specific headers 2019-09-05 09:34:54 -07:00
dcache_compat.h Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
kmap_compat.h Linux compat: Minimum kernel version 3.10 2019-11-12 08:59:06 -08:00
Makefile.am Avoid installing kernel headers on FreeBSD 2020-06-27 17:40:14 -07:00
mod_compat.h FreeBSD: Implement sysctl for fletcher4 impl 2020-12-11 10:29:01 -08:00
page_compat.h Linux 5.9 compat: NR_SLAB_RECLAIMABLE 2020-08-29 20:57:45 -07:00
percpu_compat.h Use percpu_counter for obj_alloc counter of Linux-backed caches 2020-06-26 18:06:50 -07:00
simd_aarch64.h Linux 4.14, 4.19, 5.0+ compat: SIMD save/restore 2019-10-24 10:17:33 -07:00
simd_powerpc.h Add AltiVec RAID-Z 2020-01-23 11:01:24 -08:00
simd_x86.h ICP: Improve AES-GCM performance 2020-02-10 12:59:50 -08:00
simd.h Add AltiVec RAID-Z 2020-01-23 11:01:24 -08:00
utsname_compat.h OpenZFS restructuring - move platform specific headers 2019-09-05 09:34:54 -07:00
vfs_compat.h Linux 5.12 compat: idmapped mounts 2021-03-19 21:00:59 -07:00
xattr_compat.h Linux 5.12 compat: idmapped mounts 2021-03-19 21:00:59 -07:00