9 #include <linux/sched.h>
25 acl = get_cached_acl(dentry->
d_inode, type);
28 posix_acl_release(acl);
41 if (list && size <= list_size)
47 generic_acl_get(
struct dentry *dentry,
const char *name,
void *
buffer,
48 size_t size,
int type)
56 acl = get_cached_acl(dentry->
d_inode, type);
60 posix_acl_release(acl);
66 generic_acl_set(
struct dentry *dentry,
const char *name,
const void *
value,
67 size_t size,
int flags,
int type)
95 posix_acl_release(acl);
107 set_cached_acl(inode, type, acl);
110 posix_acl_release(acl);
141 posix_acl_release(acl);
165 posix_acl_release(acl);
173 .list = generic_acl_list,
174 .get = generic_acl_get,
175 .set = generic_acl_set,
181 .list = generic_acl_list,
182 .get = generic_acl_get,
183 .set = generic_acl_set,