Home
last modified time | relevance | path

Searched hist:"2 e2cbaf9" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/hostfs/
H A Dhostfs_kern.c2e2cbaf9 Wed Dec 09 17:38:24 CST 2020 Al Viro <viro@zeniv.linux.org.uk> fix hostfs_open() use of ->f_path.dentry

this is one of the cases where we need to use d_real() - we are
using more than the name of dentry here. ->d_sb is used as well,
so in case of hostfs being used as a layer we get the wrong
superblock.

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Tested-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>