diff options
author | Hui Su <sh_def@163.com> | 2020-11-13 21:21:43 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-09 19:03:49 +0100 |
commit | 0288e7fa35b37fc91c6afec8c420f71d0ade853f (patch) | |
tree | 4af593656c72662f24b56544dcfbe7214a779cf0 /fs/befs/btree.h | |
parent | 784b2c48ac12dcee27db001fb1a3c58c39380cb6 (diff) | |
download | linux-0288e7fa35b37fc91c6afec8c420f71d0ade853f.tar.bz2 |
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>
Diffstat (limited to 'fs/befs/btree.h')
0 files changed, 0 insertions, 0 deletions