Lines Matching full:acl
15 struct posix_acl *acl; in orangefs_get_acl() local
53 acl = posix_acl_from_xattr(&init_user_ns, value, ret); in orangefs_get_acl()
55 acl = NULL; in orangefs_get_acl()
57 gossip_err("inode %pU retrieving acl's failed with error %d\n", in orangefs_get_acl()
60 acl = ERR_PTR(ret); in orangefs_get_acl()
64 return acl; in orangefs_get_acl()
67 int __orangefs_set_acl(struct inode *inode, struct posix_acl *acl, int type) in __orangefs_set_acl() argument
92 if (acl) { in __orangefs_set_acl()
93 size = posix_acl_xattr_size(acl->a_count); in __orangefs_set_acl()
98 error = posix_acl_to_xattr(&init_user_ns, acl, value, size); in __orangefs_set_acl()
104 "%s: name %s, value %p, size %zd, acl %p\n", in __orangefs_set_acl()
105 __func__, name, value, size, acl); in __orangefs_set_acl()
107 * Go ahead and set the extended attribute now. NOTE: Suppose acl in __orangefs_set_acl()
117 set_cached_acl(inode, type, acl); in __orangefs_set_acl()
122 struct posix_acl *acl, int type) in orangefs_set_acl() argument
131 if (type == ACL_TYPE_ACCESS && acl) { in orangefs_set_acl()
134 * described by the ACL can be encoded into the in orangefs_set_acl()
135 * object's mode. If so, it sets "acl" to NULL in orangefs_set_acl()
140 &iattr.ia_mode, &acl); in orangefs_set_acl()
153 rc = __orangefs_set_acl(inode, acl, type); in orangefs_set_acl()