Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Steven Whitehouse <[email protected]>
- Loading branch information