Whamcloud - gitweb
LU-9003 mdc: support posix_acl_valid with user namespace 07/25307/3
authorMichael Kuhn <michael.kuhn@informatik.uni-hamburg.de>
Tue, 7 Feb 2017 20:44:21 +0000 (21:44 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 16 Mar 2017 21:39:43 +0000 (21:39 +0000)
commit4ef449e11b1d799db70e0ae0972121e9eea776aa
tree39983166fdc75d5be0893b44ef2f8a8206bb1707
parentf470f3a166b3d471e2a3282864af35fa9d83c859
LU-9003 mdc: support posix_acl_valid with user namespace

Starting with Linux 4.8, posix_acl_valid takes an additional struct
user_namespace argument. Use init_user_ns since no other namespace is
available at this point (based on Linux commit
0d4d717f25834134bb6f43284f84c8ccee5bbf2a).

Change-Id: I656cb32f632c7ee00bdc36b6f6d4b442fcb03fcc
Signed-off-by: Michael Kuhn <michael.kuhn@informatik.uni-hamburg.de>
Reviewed-on: https://review.whamcloud.com/25307
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
libcfs/include/libcfs/linux/linux-fs.h
lustre/autoconf/lustre-core.m4
lustre/mdc/mdc_request.c