[PATCH] struct path: convert sunrpc
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
1250ca4c8f
commit
303b46bb77
@@ -501,7 +501,7 @@ gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
|
||||
if (!buf)
|
||||
goto out;
|
||||
|
||||
clnt = RPC_I(filp->f_dentry->d_inode)->private;
|
||||
clnt = RPC_I(filp->f_path.dentry->d_inode)->private;
|
||||
err = -EFAULT;
|
||||
if (copy_from_user(buf, src, mlen))
|
||||
goto err;
|
||||
|
Reference in New Issue
Block a user