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
parent
433b0a1295
commit
87349cdad9
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue