summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-09-18 17:42:35 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-11-19 12:57:21 -0500
commit81295ce635a83f052497656348e9edc794b4cae6 (patch)
tree02bf0e9f8b3bc6bde2dcb8821614daf9afd6d3d5 /mm
parent986cdb862e4aafc92a1537e04388898fc42b8bc0 (diff)
downloadtalos-op-linux-81295ce635a83f052497656348e9edc794b4cae6.tar.gz
talos-op-linux-81295ce635a83f052497656348e9edc794b4cae6.zip
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud