commit | 81295ce635a83f052497656348e9edc794b4cae6 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Thu Sep 18 17:42:35 2014 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Wed Nov 19 12:57:21 2014 -0500 |
tree | 02bf0e9f8b3bc6bde2dcb8821614daf9afd6d3d5 | |
parent | 986cdb862e4aafc92a1537e04388898fc42b8bc0 [diff] |
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>