diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-12-11 08:02:50 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-11 22:27:37 +0300 |
commit | d8725c86aebaf3516e220760aaf5fefc73825188 (patch) | |
tree | 4947b67104e1ee7c3725b64e660aa6fc0cad0681 /net/sunrpc/svcsock.c | |
parent | 6aa248145ab0b1809de2411cf129ec1fc315a46f (diff) | |
download | linux-d8725c86aebaf3516e220760aaf5fefc73825188.tar.xz |
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 'net/sunrpc/svcsock.c')
-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; } |