diff options
author | Dave Kleikamp <dave.kleikamp@oracle.com> | 2013-12-16 15:01:00 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-26 17:13:19 -0700 |
commit | 53c93feee59ac7884329013b243dcb218a4ad47b (patch) | |
tree | ef7a2332163757c430ce2563f12a0851c4f89859 /arch/sparc/kernel/starfire.c | |
parent | 10d52681f0d0d0b93aaf8efdaadac468e1bd872f (diff) |
Revert "sparc64: Fix __copy_{to,from}_user_inatomic defines."
[ Upstream commit 16932237f2978a2265662f8de4af743b1f55a209 ]
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 <dave.kleikamp@oracle.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc/kernel/starfire.c')
0 files changed, 0 insertions, 0 deletions