aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuane Griffin <duaneg@dghda.com>2008-12-19 17:45:21 -0500
committerEric Van Hensbergen <ericvh@gmail.com>2008-12-19 17:45:21 -0500
commit6ff232070a1088807e24f657b5d6f299f1ec32f6 (patch)
treef6affcc42b834f9a20fa9e70eb30fc6a7ff63e54
parent9a1d1035631ad8b3edf301b273c30bdfc75de01e (diff)
9p: Remove potentially bad parameter from function entry debug print.
Signed-off-by: Duane Griffin <duaneg@dghda.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
-rw-r--r--fs/9p/vfs_inode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
index 8314d3f43b71..7c7352838098 100644
--- a/fs/9p/vfs_inode.c
+++ b/fs/9p/vfs_inode.c
@@ -1022,7 +1022,8 @@ v9fs_vfs_put_link(struct dentry *dentry, struct nameidata *nd, void *p)
1022{ 1022{
1023 char *s = nd_get_link(nd); 1023 char *s = nd_get_link(nd);
1024 1024
1025 P9_DPRINTK(P9_DEBUG_VFS, " %s %s\n", dentry->d_name.name, s); 1025 P9_DPRINTK(P9_DEBUG_VFS, " %s %s\n", dentry->d_name.name,
1026 IS_ERR(s) ? "<error>" : s);
1026 if (!IS_ERR(s)) 1027 if (!IS_ERR(s))
1027 __putname(s); 1028 __putname(s);
1028} 1029}