Commit 77729412 authored by Al Viro's avatar Al Viro

[s390] memcpy_real(): WRITE is "data source", not destination...

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 4ba48e1b
......@@ -128,7 +128,7 @@ int memcpy_real(void *dest, unsigned long src, size_t count)
kvec.iov_base = dest;
kvec.iov_len = count;
iov_iter_kvec(&iter, WRITE, &kvec, 1, count);
iov_iter_kvec(&iter, READ, &kvec, 1, count);
if (memcpy_real_iter(&iter, src, count) < count)
return -EFAULT;
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment