Searched refs:default_acl (Results 1 – 3 of 3) sorted by relevance
47 extern int xfs_inherit_acl(struct inode *inode, struct posix_acl *default_acl);57 # define xfs_inherit_acl(inode, default_acl) 0 argument
166 struct posix_acl *default_acl = NULL; in xfs_vn_mknod() local183 default_acl = xfs_get_acl(dir, ACL_TYPE_DEFAULT); in xfs_vn_mknod()184 if (IS_ERR(default_acl)) in xfs_vn_mknod()185 return -PTR_ERR(default_acl); in xfs_vn_mknod()187 if (!default_acl) in xfs_vn_mknod()202 if (default_acl) { in xfs_vn_mknod()203 error = -xfs_inherit_acl(inode, default_acl); in xfs_vn_mknod()206 posix_acl_release(default_acl); in xfs_vn_mknod()216 posix_acl_release(default_acl); in xfs_vn_mknod()
300 xfs_inherit_acl(struct inode *inode, struct posix_acl *default_acl) in xfs_inherit_acl() argument307 error = xfs_set_acl(inode, ACL_TYPE_DEFAULT, default_acl); in xfs_inherit_acl()312 clone = posix_acl_clone(default_acl, GFP_KERNEL); in xfs_inherit_acl()