Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 293542d8 authored by Al Viro's avatar Al Viro
Browse files

hfsplus: switch to d_splice_alias()



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 0e5c56fd
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -122,8 +122,7 @@ static struct dentry *hfsplus_lookup(struct inode *dir, struct dentry *dentry,
	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);