diff options
author | J. Bruce Fields <bfields@redhat.com> | 2012-04-25 16:58:05 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-05-31 20:29:36 -0400 |
commit | bc1b542be9aba019ea89ef04da1f3592018a2a60 (patch) | |
tree | 5b1cc12a84c0506018051f0be7a60b4139c99dd4 /fs/nfsd/nfs4recover.c | |
parent | 2355c59644def5950f982fc1509dd45037e79ded (diff) | |
download | op-kernel-dev-bc1b542be9aba019ea89ef04da1f3592018a2a60.zip op-kernel-dev-bc1b542be9aba019ea89ef04da1f3592018a2a60.tar.gz |
nfsd4: preserve __user annotation on cld downcall msg
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4recover.c')
-rw-r--r-- | fs/nfsd/nfs4recover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4recover.c b/fs/nfsd/nfs4recover.c index 2b8e9a9..260d8c8 100644 --- a/fs/nfsd/nfs4recover.c +++ b/fs/nfsd/nfs4recover.c @@ -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); |