[rds-devel] [PATCHv2] rds: Make rds_message_copy_from_user() return 0 on success.

David Miller davem at davemloft.net
Sat Feb 7 22:42:21 PST 2015


From: Sowmini Varadhan <sowmini.varadhan at oracle.com>
Date: Thu, 5 Feb 2015 17:41:43 -0500

> Commit 083735f4b01b ("rds: switch rds_message_copy_from_user() to iov_iter")
> breaks rds_message_copy_from_user() semantics on success, and causes it
> to return nbytes copied, when it should return 0.  This commit fixes that bug.
> 
> Signed-off-by: Sowmini Varadhan <sowmini.varadhan at oracle.com>
> ---
> changes from v1: incorporate Al.Viro comment. 

Applied.



More information about the rds-devel mailing list