Lines Matching refs:real_acl
398 struct posix_acl *real_acl, *clone; in ovl_get_acl_path() local
405 real_acl = get_inode_acl(realinode, posix_acl_type(acl_name)); in ovl_get_acl_path()
407 real_acl = vfs_get_acl(idmap, path->dentry, acl_name); in ovl_get_acl_path()
408 if (IS_ERR_OR_NULL(real_acl)) in ovl_get_acl_path()
409 return real_acl; in ovl_get_acl_path()
412 return real_acl; in ovl_get_acl_path()
420 clone = posix_acl_clone(real_acl, GFP_KERNEL); in ovl_get_acl_path()
421 posix_acl_release(real_acl); /* release original acl */ in ovl_get_acl_path()
495 struct posix_acl *real_acl; in ovl_set_or_remove_acl() local
499 real_acl = vfs_get_acl(mnt_idmap(realpath.mnt), realdentry, in ovl_set_or_remove_acl()
502 if (IS_ERR(real_acl)) { in ovl_set_or_remove_acl()
503 err = PTR_ERR(real_acl); in ovl_set_or_remove_acl()
506 posix_acl_release(real_acl); in ovl_set_or_remove_acl()