Searched refs:real_mnt_userns (Results 1 – 2 of 2) sorted by relevance
523 struct user_namespace *real_mnt_userns = mnt_user_ns(path->mnt); in ovl_path_open() local540 err = inode_permission(real_mnt_userns, inode, acc_mode | MAY_OPEN); in ovl_path_open()545 if (inode_owner_or_capable(real_mnt_userns, inode)) in ovl_path_open()1133 struct user_namespace *real_mnt_userns; in ovl_copyattr() local1136 real_mnt_userns = mnt_user_ns(realpath.mnt); in ovl_copyattr()1138 inode->i_uid = i_uid_into_mnt(real_mnt_userns, realinode); in ovl_copyattr()1139 inode->i_gid = i_gid_into_mnt(real_mnt_userns, realinode); in ovl_copyattr()
46 struct user_namespace *real_mnt_userns; in ovl_open_realfile() local57 real_mnt_userns = mnt_user_ns(realpath->mnt); in ovl_open_realfile()58 err = inode_permission(real_mnt_userns, realinode, MAY_OPEN | acc_mode); in ovl_open_realfile()62 if (old_cred && !inode_owner_or_capable(real_mnt_userns, in ovl_open_realfile()