Searched refs:real_acl (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/overlayfs/ |
H A D | inode.c | 523 struct posix_acl *real_acl, *clone; in ovl_get_acl_path() local 530 real_acl = get_inode_acl(realinode, posix_acl_type(acl_name)); in ovl_get_acl_path() 532 real_acl = vfs_get_acl(idmap, path->dentry, acl_name); in ovl_get_acl_path() 533 if (IS_ERR_OR_NULL(real_acl)) in ovl_get_acl_path() 534 return real_acl; in ovl_get_acl_path() 537 return real_acl; in ovl_get_acl_path() 545 clone = posix_acl_clone(real_acl, GFP_KERNEL); in ovl_get_acl_path() 546 posix_acl_release(real_acl); /* release original acl */ in ovl_get_acl_path() 624 struct posix_acl *real_acl; in ovl_set_or_remove_acl() local 628 real_acl = vfs_get_acl(mnt_idmap(realpath.mnt), realdentry, in ovl_set_or_remove_acl() [all …]
|
H A D | copy_up.c | 51 struct posix_acl *clone, *real_acl = NULL; in ovl_copy_acl() local 53 real_acl = ovl_get_acl_path(path, acl_name, false); in ovl_copy_acl() 54 if (!real_acl) in ovl_copy_acl() 57 if (IS_ERR(real_acl)) { in ovl_copy_acl() 58 err = PTR_ERR(real_acl); in ovl_copy_acl() 64 clone = posix_acl_clone(real_acl, GFP_KERNEL); in ovl_copy_acl() 65 posix_acl_release(real_acl); /* release original acl */ in ovl_copy_acl()
|