Re: [PATCH 17/17] rds: switch rds_message_copy_from_user() to iov_iter

2014-11-24 Thread Al Viro
On Mon, Nov 24, 2014 at 02:00:18AM +, Ben Hutchings wrote: > On Sat, 2014-11-22 at 04:39 +, Al Viro wrote: > [...] > > - ret = rds_page_copy_from_user(sg_page(sg), sg->offset + sg_off, > > - iov->iov_base + iov_off, > > -

Re: [PATCH 17/17] rds: switch rds_message_copy_from_user() to iov_iter

2014-11-23 Thread Ben Hutchings
On Sat, 2014-11-22 at 04:39 +, Al Viro wrote: [...] > - ret = rds_page_copy_from_user(sg_page(sg), sg->offset + sg_off, > - iov->iov_base + iov_off, > - to_copy); [...] It looks like rds_page_copy{,

[PATCH 17/17] rds: switch rds_message_copy_from_user() to iov_iter

2014-11-21 Thread Al Viro
Signed-off-by: Al Viro --- net/rds/message.c | 42 -- net/rds/rds.h |3 +-- net/rds/send.c|4 +++- 3 files changed, 16 insertions(+), 33 deletions(-) diff --git a/net/rds/message.c b/net/rds/message.c index 7a546e0..ff22022 100644 --- a/n