From patchwork Fri Nov 23 12:40:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Dryomov X-Patchwork-Id: 10695755 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DD0B11926 for ; Fri, 23 Nov 2018 12:40:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C9E3C2C013 for ; Fri, 23 Nov 2018 12:40:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BED252C080; Fri, 23 Nov 2018 12:40:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79D412C013 for ; Fri, 23 Nov 2018 12:40:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2409871AbeKWXYq (ORCPT ); Fri, 23 Nov 2018 18:24:46 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:52660 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405500AbeKWXYq (ORCPT ); Fri, 23 Nov 2018 18:24:46 -0500 Received: by mail-wm1-f68.google.com with SMTP id r11-v6so11751700wmb.2 for ; Fri, 23 Nov 2018 04:40:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=q1vJXZTbD7LmwITQsF9hJF4lBCsj0g7NI+Gyf7j2EKU=; b=EV9P7jA0ZZrBec7zMpRnTfAeCRiJHu8Ftl6vvOGyK9mBfHaIngWxaNIExVeAC5XcKb hO74oLUozRzEVkjWSm6vL0vRUPOkSRHLx6d87AyctWm5Fb/JGzQoT/70vMgeHuQRkDv7 g3cl6PSMzuUMUpP0ucp14A4iYCKUscnUlCyDSQ+swLQCqpCSgpegAwBp24Imv4Al3ZhK oE9AtjY6vL/FrKM7jYxXlih7d9ZTrzNZ1Zbiqhw3lRBldoGvfMpAwhyyLgH+SdYiC3mv ofoXDvOEDerAukLyLPlCoiO48YL2FRaDrHwiazWxQ/dbEu+gyO3UaG+Zkz73QcM7Taey rWWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=q1vJXZTbD7LmwITQsF9hJF4lBCsj0g7NI+Gyf7j2EKU=; b=PhYtcRvQjFEgbEBd+Acq+drV7VQelYQ+b4lVsjBKYw4qUMouNoQdQoMs7sXEVkXppg uN/zK7qdP/7ybrJ2RV8NKRgKObp1H5kdksjF0fvpRntb7SfyaXmwo9xwIhJFGCUly6dE IrCxrhuTPbe4fkFeFY80CGlkTZzv/waefqm+xgOKko+z+TBJQYm6qGXHfkmhJKf8Ee2k 4ZuET8Dabi0ej995ieTtm0wcljYpvp6sGBNnjQYJlFOgjp5PBlZlmjRUQ53whdCjjuOL /9VkFJk9mLsuScM+dW8nUtLjXjNMMIZNxMTJCUj0Qj5zlcQtNAhGIynMT35Q5OhvnU/r D4VQ== X-Gm-Message-State: AGRZ1gKCItvKBKb3PyS8AmMy+8JdYWc72PctVUZfpY7cyjM7FL6sx50y lc1ITKS+QXCX/3kU6eoQ2mdAO1S3 X-Google-Smtp-Source: AJdET5dzYbzLmj34qBbo8Fjd9mGLx/k4HEUg9qw9rNaUFnV2vwqe3l8naxcbsw/dpdw+1ZAWJhOmEA== X-Received: by 2002:a7b:c1d6:: with SMTP id a22mr13079663wmj.48.1542976842272; Fri, 23 Nov 2018 04:40:42 -0800 (PST) Received: from orange.local (ip-94-112-136-201.net.upcbroadband.cz. [94.112.136.201]) by smtp.gmail.com with ESMTPSA id l3sm31077857wru.36.2018.11.23.04.40.41 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Nov 2018 04:40:41 -0800 (PST) From: Ilya Dryomov To: ceph-devel@vger.kernel.org Subject: [PATCH 4/4] libceph: switch more to bool in ceph_tcp_sendmsg() Date: Fri, 23 Nov 2018 13:40:20 +0100 Message-Id: <20181123124020.4637-5-idryomov@gmail.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20181123124020.4637-1-idryomov@gmail.com> References: <20181123124020.4637-1-idryomov@gmail.com> Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Unlike in ceph_tcp_sendpage(), it's a bool. Signed-off-by: Ilya Dryomov --- net/ceph/messenger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;