commit | 44bb31bac555b0faf2e7068f3a953d5b23883dc9 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ZenIV.linux.org.uk> | Wed Nov 19 19:35:24 2014 +0000 |
committer | Steven Whitehouse <swhiteho@redhat.com> | Thu Nov 20 10:17:39 2014 +0000 |
tree | 6ee0d8138074d1a363f08365b323c5367af1aae2 | |
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>