summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svcsock.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-12-11 00:02:50 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2015-04-11 15:27:37 -0400
commitd8725c86aebaf3516e220760aaf5fefc73825188 (patch)
tree4947b67104e1ee7c3725b64e660aa6fc0cad0681 /net/sunrpc/svcsock.c
parent6aa248145ab0b1809de2411cf129ec1fc315a46f (diff)
downloadlinux-d8725c86aebaf3516e220760aaf5fefc73825188.tar.bz2
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.c2
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;
}