]> git.proxmox.com Git - mirror_zfs.git/commit - config/kernel-acl.m4
Linux 4.8 compat: posix_acl_valid()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 2 Aug 2016 18:11:45 +0000 (11:11 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 8 Aug 2016 18:46:40 +0000 (11:46 -0700)
commit4b908d32200b6e5c7b5115322b6c8d25e770daa0
tree98cf55b1d7583c68664208992ce9d2cca23ad26c
parente85a6396b0f7f3cb5a76cf88e47fc1334f9162b7
Linux 4.8 compat: posix_acl_valid()

The posix_acl_valid() function has been updated to require a
user namespace.  Filesystem callers should normally provide the
user_ns from the super block associcated with the ACL; the
zpl_posix_acl_valid() wrapper has been added for this purpose.
See https://github.com/torvalds/linux/commit/0d4d717f for
complete details.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes #4922
config/kernel-acl.m4
config/kernel.m4
include/linux/vfs_compat.h
module/zfs/zpl_xattr.c