]> git.proxmox.com Git - mirror_zfs.git/commit
Honor CONFIG_FS_POSIX_ACL kernel option
authorMassimo Maggi <me@massimo-maggi.eu>
Sat, 2 Nov 2013 23:40:26 +0000 (00:40 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 6 Nov 2013 00:22:05 +0000 (16:22 -0800)
commitb695c34ea4ca3037cfbc0fe7a9283334b761abc1
tree1b34e3708386e3478ceb157168b1f12c8feed8be
parent78e2739d3c9e433c92cd1623a510edb2c83a97d9
Honor CONFIG_FS_POSIX_ACL kernel option

The required Posix ACL interfaces are only available for kernels
with CONFIG_FS_POSIX_ACL defined.  Therefore, only enable Posix
ACL support for these kernels.  All major distribution kernels
enable CONFIG_FS_POSIX_ACL by default.

If your kernel does not support Posix ACLs the following warning
will be printed at ZFS module load time.

  "ZFS: Posix ACLs disabled by kernel"

Signed-off-by: Massimo Maggi <me@massimo-maggi.eu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1825
include/linux/vfs_compat.h
include/sys/zpl.h
module/zfs/zfs_ioctl.c
module/zfs/zfs_vfsops.c
module/zfs/zpl_inode.c
module/zfs/zpl_super.c
module/zfs/zpl_xattr.c