Searched refs:real_acl (Results 1 – 2 of 2) sorted by relevance
| /linux/fs/overlayfs/ |
| H A D | inode.c | 408 struct posix_acl *real_acl, *clone; in ovl_get_acl_path() local 415 real_acl = get_inode_acl(realinode, posix_acl_type(acl_name)); in ovl_get_acl_path() 417 real_acl = vfs_get_acl(idmap, path->dentry, acl_name); in ovl_get_acl_path() 418 if (IS_ERR_OR_NULL(real_acl)) in ovl_get_acl_path() 419 return real_acl; in ovl_get_acl_path() 422 return real_acl; in ovl_get_acl_path() 430 clone = posix_acl_clone(real_acl, GFP_KERNEL); in ovl_get_acl_path() 431 posix_acl_release(real_acl); /* release original acl */ in ovl_get_acl_path() 501 struct posix_acl *real_acl; in ovl_set_or_remove_acl() local 505 real_acl = vfs_get_acl(mnt_idmap(realpath.mnt), realdentry, acl_name); in ovl_set_or_remove_acl() [all …]
|
| H A D | copy_up.c | 50 struct posix_acl *clone, *real_acl = NULL; in ovl_copy_acl() local 52 real_acl = ovl_get_acl_path(path, acl_name, false); in ovl_copy_acl() 53 if (!real_acl) in ovl_copy_acl() 56 if (IS_ERR(real_acl)) { in ovl_copy_acl() 57 err = PTR_ERR(real_acl); in ovl_copy_acl() 63 clone = posix_acl_clone(real_acl, GFP_KERNEL); in ovl_copy_acl() 64 posix_acl_release(real_acl); /* release original acl */ in ovl_copy_acl()
|