libceph: switch more to bool in ceph_tcp_sendmsg()

Unlike in ceph_tcp_sendpage(), it's a bool.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
pull/641/head
Ilya Dryomov 2018-11-21 18:56:40 +01:00
parent 433b0a1295
commit 87349cdad9
1 changed files with 1 additions and 1 deletions

View File

@ -544,7 +544,7 @@ static int ceph_tcp_recvpage(struct socket *sock, struct page *page,
* shortly. * shortly.
*/ */
static int ceph_tcp_sendmsg(struct socket *sock, struct kvec *iov, static int ceph_tcp_sendmsg(struct socket *sock, struct kvec *iov,
size_t kvlen, size_t len, int more) size_t kvlen, size_t len, bool more)
{ {
struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL }; struct msghdr msg = { .msg_flags = MSG_DONTWAIT | MSG_NOSIGNAL };
int r; int r;