mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
hfsplus: switch to d_splice_alias()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
0e5c56fd07
commit
293542d8e5
@ -122,8 +122,7 @@ again:
|
||||
if (S_ISREG(inode->i_mode))
|
||||
HFSPLUS_I(inode)->linkid = linkid;
|
||||
out:
|
||||
d_add(dentry, inode);
|
||||
return NULL;
|
||||
return d_splice_alias(inode, dentry);
|
||||
fail:
|
||||
hfs_find_exit(&fd);
|
||||
return ERR_PTR(err);
|
||||
|
Loading…
Reference in New Issue
Block a user