diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-12-11 06:02:50 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-11 21:27:37 +0200 |
commit | d8725c86aebaf3516e220760aaf5fefc73825188 (patch) | |
tree | 4947b67104e1ee7c3725b64e660aa6fc0cad0681 /net/sunrpc/svcsock.c | |
parent | switch kernel_sendmsg() and kernel_recvmsg() to iov_iter_kvec() (diff) | |
download | linux-d8725c86aebaf3516e220760aaf5fefc73825188.tar.xz linux-d8725c86aebaf3516e220760aaf5fefc73825188.zip |
get rid of the size argument of sock_sendmsg()
it's equal to iov_iter_count(&msg->msg_iter) in all cases
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
-rw-r--r-- | net/sunrpc/svcsock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index cc331b6cf573..0c8120229a03 100644 --- a/net/sunrpc/svcsock.c +++ b/net/sunrpc/svcsock.c @@ -257,7 +257,7 @@ static int svc_sendto(struct svc_rqst *rqstp, struct xdr_buf *xdr) svc_set_cmsg_data(rqstp, cmh); - if (sock_sendmsg(sock, &msg, 0) < 0) + if (sock_sendmsg(sock, &msg) < 0) goto out; } |