mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
9p: Remove potentially bad parameter from function entry debug print.
Signed-off-by: Duane Griffin <[email protected]> Signed-off-by: Eric Van Hensbergen <[email protected]>
This commit is contained in:
parent
9a1d103563
commit
6ff232070a
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue