Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kernfs: d_obtain_alias(NULL) will do the right thing...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20231220052229.GH1674809@ZenIV
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Al Viro and committed by
Greg Kroah-Hartman
64c16682 532888a5

-3
-3
fs/kernfs/mount.c
··· 125 125 126 126 inode = kernfs_get_inode(sb, kn); 127 127 kernfs_put(kn); 128 - if (!inode) 129 - return ERR_PTR(-ESTALE); 130 - 131 128 return d_obtain_alias(inode); 132 129 } 133 130