summaryrefslogtreecommitdiffstats
path: root/kernel/kthread.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-12-20 20:54:42 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-01-30 08:06:01 +0100
commita661b77fc12a172edea4b709e37f8cd58a6bd500 (patch)
treeded0b18213329ec39682ad63530e849fafed22c0 /kernel/kthread.c
parentNFS: Clean up fs/nfs/idmap.c (diff)
downloadlinux-a661b77fc12a172edea4b709e37f8cd58a6bd500.tar.xz
linux-a661b77fc12a172edea4b709e37f8cd58a6bd500.zip
NFS: Fix use of copy_to_user() in idmap_pipe_upcall
The idmap_pipe_upcall() function expects the copy_to_user() function to return a negative error value if the call fails, but copy_to_user() returns an unsigned long number of bytes that couldn't be copied. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'kernel/kthread.c')
0 files changed, 0 insertions, 0 deletions