Lines Matching refs:default_acl
170 struct posix_acl *acl, *default_acl; in ceph_pre_init_acls() local
176 err = posix_acl_create(dir, mode, &default_acl, &acl); in ceph_pre_init_acls()
190 if (!default_acl && !acl) in ceph_pre_init_acls()
195 if (default_acl) in ceph_pre_init_acls()
196 val_size2 = posix_acl_xattr_size(default_acl->a_count); in ceph_pre_init_acls()
210 ceph_pagelist_encode_32(pagelist, acl && default_acl ? 2 : 1); in ceph_pre_init_acls()
226 if (default_acl) { in ceph_pre_init_acls()
233 err = posix_acl_to_xattr(&init_user_ns, default_acl, in ceph_pre_init_acls()
244 as_ctx->default_acl = default_acl; in ceph_pre_init_acls()
250 posix_acl_release(default_acl); in ceph_pre_init_acls()
262 ceph_set_cached_acl(inode, ACL_TYPE_DEFAULT, as_ctx->default_acl); in ceph_init_inode_acls()