Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rds: Make rds_message_copy_from_user() return 0 on success.
Commit 083735f ("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@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information