projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a1d103
)
9p: Remove potentially bad parameter from function entry debug print.
author
Duane Griffin
<duaneg@dghda.com>
Fri, 19 Dec 2008 22:45:21 +0000
(16:45 -0600)
committer
Eric Van Hensbergen
<ericvh@gmail.com>
Fri, 19 Dec 2008 22:45:21 +0000
(16:45 -0600)
Signed-off-by: Duane Griffin <duaneg@dghda.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/vfs_inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/9p/vfs_inode.c
b/fs/9p/vfs_inode.c
index 8314d3f43b716f41560e4517d42eaade5cfc1459..7c7352838098ee6d8db730a2ce796c3de6679488 100644
(file)
--- 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)
{
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);
}