commit | a661b77fc12a172edea4b709e37f8cd58a6bd500 | [log] [tgz] |
---|---|---|
author | Chuck Lever <chuck.lever@oracle.com> | Thu Dec 20 14:54:42 2007 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Jan 30 02:06:01 2008 -0500 |
tree | ded0b18213329ec39682ad63530e849fafed22c0 | |
parent | 369af0f1166f7a637751110395496cee156b4297 [diff] |
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>