From: Chuck Lever Date: Thu, 20 Dec 2007 19:54:42 +0000 (-0500) Subject: NFS: Fix use of copy_to_user() in idmap_pipe_upcall X-Git-Tag: v2.6.25-rc1~1146^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a661b77fc12a172edea4b709e37f8cd58a6bd500;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed