aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2020-12-09 23:38:24 +0000
committerAl Viro <[email protected]>2020-12-22 02:42:29 +0000
commit2e2cbaf920d14de9a96180ddefd6861bcc46f07d (patch)
tree57d2cf2250889401bdd946a392b361fdb9290aba /net/switchdev/switchdev.c
parentMake sure that make_create_in_sticky() never sees uninitialized value of dir_... (diff)
downloadkernel-2e2cbaf920d14de9a96180ddefd6861bcc46f07d.tar.gz
kernel-2e2cbaf920d14de9a96180ddefd6861bcc46f07d.zip
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 <[email protected]> Tested-by: Johannes Berg <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions