diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2015-02-05 17:41:43 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-07 22:41:56 -0800 |
commit | d0a47d32724bf0765b8768086ef1a7a6d074a7a0 (patch) | |
tree | 3cec5e71a1bcfd083dd7218a822eed300e62c857 /drivers/oprofile | |
parent | 11ac11999bae3c353f86b6e7dd0e43d4a0eada12 (diff) | |
download | linux-d0a47d32724bf0765b8768086ef1a7a6d074a7a0.tar.bz2 |
rds: Make rds_message_copy_from_user() return 0 on success.
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@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/oprofile')
0 files changed, 0 insertions, 0 deletions