projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2355c59
)
nfsd4: preserve __user annotation on cld downcall msg
author
J. Bruce Fields
<bfields@redhat.com>
Wed, 25 Apr 2012 20:58:05 +0000
(16:58 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Fri, 1 Jun 2012 00:29:36 +0000
(20:29 -0400)
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4recover.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/nfs4recover.c
b/fs/nfsd/nfs4recover.c
index 2b8e9a93fdd5cd5425e802a6b42c7bd4dff2f171..260d8c8f691b8a99c0674b0d148384996fde1399 100644
(file)
--- 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);