Skip to content
Commit 81295ce6 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 986cdb86
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment