Skip to content

Commit

Permalink
9p: Remove potentially bad parameter from function entry debug print.
Browse files Browse the repository at this point in the history
Signed-off-by: Duane Griffin <duaneg@dghda.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
  • Loading branch information
Duane Griffin authored and Eric Van Hensbergen committed Dec 19, 2008
1 parent 9a1d103 commit 6ff2320
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/9p/vfs_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,8 @@ v9fs_vfs_put_link(struct dentry *dentry, struct nameidata *nd, void *p)
{
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))
__putname(s);
}
Expand Down

0 comments on commit 6ff2320

Please sign in to comment.