From: Dave Kleikamp Date: Mon, 16 Dec 2013 21:01:00 +0000 (-0600) Subject: Revert "sparc64: Fix __copy_{to,from}_user_inatomic defines." X-Git-Tag: v3.13-rc8~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16932237f2978a2265662f8de4af743b1f55a209;p=pandora-kernel.git Revert "sparc64: Fix __copy_{to,from}_user_inatomic defines." This reverts commit 145e1c0023585e0e8f6df22316308ec61c5066b2. This commit broke the behavior of __copy_from_user_inatomic when it is only partially successful. Instead of returning the number of bytes not copied, it now returns 1. This translates to the wrong value being returned by iov_iter_copy_from_user_atomic. xfstests generic/246 and LTP writev01 both fail on btrfs and nfs because of this. Signed-off-by: Dave Kleikamp Cc: Hugh Dickins Cc: David S. Miller Cc: sparclinux@vger.kernel.org Signed-off-by: David S. Miller --- Reading git-diff-tree failed