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

Commit 3509b678 authored by Al Viro's avatar Al Viro
Browse files

9p: double iput() in ->lookup() if d_materialise_unique() fails



d_materialise_unique() does iput() itself.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 2ea03e1d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -841,7 +841,6 @@ struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry,
	if (!IS_ERR(res))
		return res;
	result = PTR_ERR(res);
	iput(inode);
error:
	p9_client_clunk(fid);