]> git.proxmox.com Git - mirror_zfs.git/commit - config/kernel.m4
Linux 3.14 compat: assign inode->set_acl
authortuxoko <tuxoko@gmail.com>
Wed, 9 Nov 2016 18:37:17 +0000 (10:37 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 9 Nov 2016 18:37:17 +0000 (10:37 -0800)
commit0420c126ce11432590bce1da651334ca07223185
treea8265be359b2b9b94705f0ea2c83be79132f8ca3
parent66f801f00acbc83206b5c2af9e44de45da2602a3
Linux 3.14 compat: assign inode->set_acl

Linux 3.14 introduces inode->set_acl(). Normally, acl modification will come
from setxattr, which will handle by the acl xattr_handler, and we already
handles that well. However, nfsd will directly calls inode->set_acl or
return error if it doesn't exists.

Reviewed-by: Tim Chase <tim@chase2k.com>
Reviewed-by: Massimo Maggi <me@massimo-maggi.eu>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes #5371
Closes #5375
config/kernel-acl.m4
config/kernel.m4
include/sys/zpl.h
module/zfs/zpl_inode.c
module/zfs/zpl_xattr.c