linux/fs/overlayfs
Zhihao Cheng b2dd05f107 ovl: let helper ovl_i_path_real() return the realinode
Let helper ovl_i_path_real() return the realinode to prepare for
checking non-null realinode in RCU walking path.

[msz] Use d_inode_rcu() since we are depending on the consitency
between dentry and inode being non-NULL in an RCU setting.

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Fixes: ffa5723c6d ("ovl: store lower path in ovl_inode")
Cc: <stable@vger.kernel.org> # v5.19
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2023-06-19 14:00:38 +03:00
..
copy_up.c ovl: check for ->listxattr() support 2023-03-06 09:57:13 +01:00
dir.c fs: port inode_init_owner() to mnt_idmap 2023-01-19 09:24:28 +01:00
export.c fs: port ->permission() to pass mnt_idmap 2023-01-19 09:24:28 +01:00
file.c fs: port inode_owner_or_capable() to mnt_idmap 2023-01-19 09:24:29 +01:00
inode.c fs: port vfs{g,u}id helpers to mnt_idmap 2023-01-19 09:24:30 +01:00
Kconfig ovl: Kconfig: Fix spelling mistake "undelying" -> "underlying" 2022-12-08 10:49:46 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
namei.c fs: port ->permission() to pass mnt_idmap 2023-01-19 09:24:28 +01:00
overlayfs.h ovl: let helper ovl_i_path_real() return the realinode 2023-06-19 14:00:38 +03:00
ovl_entry.h fs: port ->permission() to pass mnt_idmap 2023-01-19 09:24:28 +01:00
readdir.c fs: port ->permission() to pass mnt_idmap 2023-01-19 09:24:28 +01:00
super.c fs: drop unused posix acl handlers 2023-03-06 09:57:12 +01:00
util.c ovl: let helper ovl_i_path_real() return the realinode 2023-06-19 14:00:38 +03:00