aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}