From: Al Viro Date: Wed, 19 Nov 2014 19:35:24 +0000 (+0000) Subject: GFS2: gfs2_create_inode(): don't bother with d_splice_alias() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~145^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44bb31bac555b0faf2e7068f3a953d5b23883dc9;p=pandora-kernel.git 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 Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed