diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2018-11-21 18:56:40 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-12-26 15:56:04 +0100 |
commit | 87349cdad963163b55cf7d327f5d47a647339838 (patch) | |
tree | 64d089ec8949f221f66f2f1b10b2854ddbef362c /net/ceph | |
parent | libceph: use MSG_SENDPAGE_NOTLAST with ceph_tcp_sendpage() (diff) | |
download | linux-87349cdad963163b55cf7d327f5d47a647339838.tar.xz linux-87349cdad963163b55cf7d327f5d47a647339838.zip |
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>
Diffstat (limited to 'net/ceph')
-rw-r--r-- | net/ceph/messenger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/messenger.c b/net/ceph/messenger.c index 649faa626b35..d5718284db57 100644 --- a/net/ceph/messenger.c +++ b/net/ceph/messenger.c @@ -544,7 +544,7 @@ static int ceph_tcp_recvpage(struct socket *sock, struct page *page, * shortly. */ 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 }; int r; |