Messages in this thread Patch in this message | | | Date | Sat, 22 Nov 2014 03:36:39 +0000 | From | Al Viro <> | Subject | Re: [RFC] situation with csum_and_copy_... API |
| |
On Sat, Nov 22, 2014 at 03:27:18AM +0000, Al Viro wrote: > @@ -566,38 +445,15 @@ static size_t copy_to_iter_bvec(void *from, size_t bytes, struct iov_iter *i) [snip] > + iterate_bvec(i, bytes, page, off, len, true, > + memcpy_from_page((from += len) - len, page, off, len))
should be + memcpy_to_page(page, off, (from += len) - len, len))
and
> @@ -605,35 +461,9 @@ static size_t copy_from_iter_bvec(void *to, size_t bytes, struct iov_iter *i) [snip] > + iterate_bvec(i, bytes, page, off, len, true, > + memcpy_to_page(page, off, (to += len) - len, len))
should be + memcpy_from_page((to += len) - len, page, off, len))
Sorry, wrong delta.
| |