diff options
author | Chunwei Chen <[email protected]> | 2016-11-01 17:19:52 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-11-07 11:04:44 -0800 |
commit | 3779913b35634d9d34ac9eb709203275b28050c2 (patch) | |
tree | a30b6a62a918bc460e0f256ce1b673f98f24901b /config/kernel.m4 | |
parent | 8e71ab99dc4a591d41ab0d9255ddca3e914f47e4 (diff) |
Use set_cached_acl and forget_cached_acl when possible
Originally, these two function are inline, so their usability is tied to
posix_acl_release. However, since Linux 3.14, they became EXPORT_SYMBOL, so we
can always use them. In this patch, we create an independent test for these
two functions so we can use them when possible.
Signed-off-by: Chunwei Chen <[email protected]>
Diffstat (limited to 'config/kernel.m4')
-rw-r--r-- | config/kernel.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/kernel.m4 b/config/kernel.m4 index 15e2ef351..8e1f10ec3 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -46,6 +46,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [ ZFS_AC_KERNEL_INODE_OWNER_OR_CAPABLE ZFS_AC_KERNEL_POSIX_ACL_FROM_XATTR_USERNS ZFS_AC_KERNEL_POSIX_ACL_RELEASE + ZFS_AC_KERNEL_SET_CACHED_ACL_USABLE ZFS_AC_KERNEL_POSIX_ACL_CHMOD ZFS_AC_KERNEL_POSIX_ACL_EQUIV_MODE_WANTS_UMODE_T ZFS_AC_KERNEL_POSIX_ACL_VALID_WITH_NS @@ -54,7 +55,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [ ZFS_AC_KERNEL_INODE_OPERATIONS_CHECK_ACL ZFS_AC_KERNEL_INODE_OPERATIONS_CHECK_ACL_WITH_FLAGS ZFS_AC_KERNEL_INODE_OPERATIONS_GET_ACL - ZFS_AC_KERNE_GET_ACL_HANDLE_CACHE + ZFS_AC_KERNEL_GET_ACL_HANDLE_CACHE ZFS_AC_KERNEL_SHOW_OPTIONS ZFS_AC_KERNEL_FILE_INODE ZFS_AC_KERNEL_FILE_DENTRY |