linux/fs/kernfs
Zhen Lei 95b2a03478 kernfs: remove an unused if statement in kernfs_path_from_node_locked()
It makes no sense to call kernfs_path_from_node_locked() with NULL buf,
and no one is doing that right now.

Suggested-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20221126111634.1994-1-thunder.leizhen@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-19 17:13:24 +01:00
..
dir.c kernfs: remove an unused if statement in kernfs_path_from_node_locked() 2023-01-19 17:13:24 +01:00
file.c kernfs: fix all kernel-doc warnings and multiple typos 2022-11-23 19:28:26 +01:00
inode.c kernfs: fix all kernel-doc warnings and multiple typos 2022-11-23 19:28:26 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
kernfs-internal.h kernfs: fix all kernel-doc warnings and multiple typos 2022-11-23 19:28:26 +01:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mount.c kernfs: fix all kernel-doc warnings and multiple typos 2022-11-23 19:28:26 +01:00
symlink.c kernfs: fix all kernel-doc warnings and multiple typos 2022-11-23 19:28:26 +01:00