forked from Minki/linux
nfsd4: preserve __user annotation on cld downcall msg
Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
2355c59644
commit
bc1b542be9
@ -570,7 +570,7 @@ static ssize_t
|
||||
cld_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
|
||||
{
|
||||
struct cld_upcall *tmp, *cup;
|
||||
struct cld_msg *cmsg = (struct cld_msg *)src;
|
||||
struct cld_msg __user *cmsg = (struct cld_msg __user *)src;
|
||||
uint32_t xid;
|
||||
struct nfsd_net *nn = net_generic(filp->f_dentry->d_sb->s_fs_info,
|
||||
nfsd_net_id);
|
||||
|
Loading…
Reference in New Issue
Block a user