mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 23:21:46 +00:00
switch d_materialise_unique() users to d_splice_alias()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
b5ae6b15bd
commit
41d28bca2d
11 changed files with 19 additions and 29 deletions
|
@ -807,7 +807,7 @@ static struct dentry *kernfs_iop_lookup(struct inode *dir,
|
|||
}
|
||||
|
||||
/* instantiate and hash dentry */
|
||||
ret = d_materialise_unique(dentry, inode);
|
||||
ret = d_splice_alias(inode, dentry);
|
||||
out_unlock:
|
||||
mutex_unlock(&kernfs_mutex);
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue