diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2014-11-19 19:35:24 +0000 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2014-11-20 10:17:39 +0000 |
commit | 44bb31bac555b0faf2e7068f3a953d5b23883dc9 (patch) | |
tree | 6ee0d8138074d1a363f08365b323c5367af1aae2 /drivers/cpufreq/Kconfig | |
parent | 571a4b57975aaaf50479a59882f1d44ae2737084 (diff) |
GFS2: gfs2_create_inode(): don't bother with d_splice_alias()
dentry is always hashed and negative, inode - non-error, non-NULL and
non-directory. In such conditions d_splice_alias() is equivalent to
"d_instantiate(dentry, inode) and return NULL", which simplifies the
downstream code and is consistent with the "have to create a new object"
case.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'drivers/cpufreq/Kconfig')
0 files changed, 0 insertions, 0 deletions