Home
last modified time | relevance | path

Searched refs:default_acl (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/fs/xfs/
Dxfs_acl.h47 extern int xfs_inherit_acl(struct inode *inode, struct posix_acl *default_acl);
57 # define xfs_inherit_acl(inode, default_acl) 0 argument
/linux-2.6.39/fs/xfs/linux-2.6/
Dxfs_iops.c166 struct posix_acl *default_acl = NULL; in xfs_vn_mknod() local
183 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()
Dxfs_acl.c300 xfs_inherit_acl(struct inode *inode, struct posix_acl *default_acl) in xfs_inherit_acl() argument
307 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()