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

Commit 6ff23207 authored by Duane Griffin's avatar Duane Griffin Committed by Eric Van Hensbergen
Browse files

9p: Remove potentially bad parameter from function entry debug print.

parent 9a1d1035
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1022,7 +1022,8 @@ v9fs_vfs_put_link(struct dentry *dentry, struct nameidata *nd, void *p)
{
{
	char *s = nd_get_link(nd);
	char *s = nd_get_link(nd);


	P9_DPRINTK(P9_DEBUG_VFS, " %s %s\n", dentry->d_name.name, s);
	P9_DPRINTK(P9_DEBUG_VFS, " %s %s\n", dentry->d_name.name,
		IS_ERR(s) ? "<error>" : s);
	if (!IS_ERR(s))
	if (!IS_ERR(s))
		__putname(s);
		__putname(s);
}
}