]> granicus.if.org Git - zfs/commit
Use set_cached_acl and forget_cached_acl when possible
authorChunwei Chen <david.chen@osnexus.com>
Wed, 2 Nov 2016 00:19:52 +0000 (17:19 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 7 Nov 2016 19:04:44 +0000 (11:04 -0800)
commit3779913b35634d9d34ac9eb709203275b28050c2
treea30b6a62a918bc460e0f256ce1b673f98f24901b
parent8e71ab99dc4a591d41ab0d9255ddca3e914f47e4
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 <david.chen@osnexus.com>
config/kernel-acl.m4
config/kernel.m4
include/linux/vfs_compat.h