Searched refs:realinode (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/fs/overlayfs/ |
D | inode.c | 292 struct inode *realinode; in ovl_permission() local 298 realinode = ovl_i_path_real(inode, &realpath); in ovl_permission() 299 if (!realinode) { in ovl_permission() 314 !special_file(realinode->i_mode) && mask & MAY_WRITE) { in ovl_permission() 319 err = inode_permission(mnt_idmap(realpath.mnt), realinode, mask); in ovl_permission() 347 static void ovl_idmap_posix_acl(const struct inode *realinode, in ovl_idmap_posix_acl() argument 351 struct user_namespace *fs_userns = i_user_ns(realinode); in ovl_idmap_posix_acl() 400 struct inode *realinode = d_inode(path->dentry); in ovl_get_acl_path() local 405 real_acl = get_inode_acl(realinode, posix_acl_type(acl_name)); in ovl_get_acl_path() 425 ovl_idmap_posix_acl(realinode, idmap, clone); in ovl_get_acl_path() [all …]
|
D | file.c | 17 static char ovl_whatisit(struct inode *inode, struct inode *realinode) in ovl_whatisit() argument 19 if (realinode != ovl_inode_upper(inode)) in ovl_whatisit() 30 struct inode *realinode = d_inode(realpath->dentry); in ovl_open_realfile() local 44 err = inode_permission(real_idmap, realinode, MAY_OPEN | acc_mode); in ovl_open_realfile() 48 if (!inode_owner_or_capable(real_idmap, realinode)) in ovl_open_realfile() 57 file, file, ovl_whatisit(inode, realinode), file->f_flags, in ovl_open_realfile()
|
D | util.c | 1515 struct inode *realinode; in ovl_copyattr() local 1520 realinode = ovl_i_path_real(inode, &realpath); in ovl_copyattr() 1524 vfsuid = i_uid_into_vfsuid(real_idmap, realinode); in ovl_copyattr() 1525 vfsgid = i_gid_into_vfsgid(real_idmap, realinode); in ovl_copyattr() 1529 inode->i_mode = realinode->i_mode; in ovl_copyattr() 1530 inode_set_atime_to_ts(inode, inode_get_atime(realinode)); in ovl_copyattr() 1531 inode_set_mtime_to_ts(inode, inode_get_mtime(realinode)); in ovl_copyattr() 1532 inode_set_ctime_to_ts(inode, inode_get_ctime(realinode)); in ovl_copyattr() 1533 i_size_write(inode, i_size_read(realinode)); in ovl_copyattr()
|