Whamcloud - gitweb
LU-14651 llite: extend inode methods with user namespace arg
authorJian Yu <yujian@whamcloud.com>
Mon, 24 Jan 2022 07:37:30 +0000 (23:37 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 25 Jan 2022 15:43:04 +0000 (15:43 +0000)
commitca483b3b85daea4753cf755def7ccef457ff6982
tree6d41901973101dffdc496261887a065fd5c93dfd
parentc3b93bf2fed9e4a5e6945d615b57045361612949
LU-14651 llite: extend inode methods with user namespace arg

Kernel 5.12 supports idmapped mounts, which extends
vfsmount struct with a new struct user_namespace member,
and also extends some inode methods with an additional
user namespace argument.

The series can be found here:
https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git/log/?h=idmapped_mounts

Lustre-change: https://review.whamcloud.com/45938
Lustre-commit: 0feec5a3c7d4518d5c563739124b202a6a0a99f7

Change-Id: I7cccde8cb3288e1ce3d9b6255796b954a6e115df
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/46278
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
12 files changed:
libcfs/libcfs/crypto/policy.c
lustre/autoconf/lustre-core.m4
lustre/include/lustre_compat.h
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/namei.c
lustre/llite/pcc.c
lustre/llite/xattr.c
lustre/osd-ldiskfs/osd_compat.c
lustre/osd-ldiskfs/osd_oi.c
lustre/tests/kernel/kinode.c