linux/fs/kernfs
Hui Su 0288e7fa35 fs/kernfs: remove the double check of dentry->inode
In both kernfs_node_from_dentry() and in
kernfs_dentry_node(), we will check the dentry->inode
is NULL or not, which is superfluous.

So remove the check in kernfs_node_from_dentry().

Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Hui Su <sh_def@163.com>
Link: https://lore.kernel.org/r/20201113132143.GA119541@rlk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-12-09 19:03:49 +01:00
..
dir.c fs/kernfs: remove the double check of dentry->inode 2020-12-09 19:03:49 +01:00
file.c fsnotify: pass dir and inode arguments to fsnotify() 2020-07-27 23:15:48 +02:00
inode.c
Kconfig
kernfs-internal.h
Makefile
mount.c
symlink.c