Home Home > GIT Browse > SLE15-SP1
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Henriques <lhenriques@suse.com>2019-01-16 16:12:01 +0000
committerLuis Henriques <lhenriques@suse.com>2019-01-18 11:21:09 +0000
commit5d53ae48b6bcdfe8293a3a373fda70f244a0cfaf (patch)
treefe7ccb1570c90ff77177c74ba0c7c1bb93a5d382
parente032ffe5104b98931d86da0f8167b2942d7bf455 (diff)
libceph: switch more to bool in ceph_tcp_sendmsg()
(bsc#1122215).
-rw-r--r--patches.suse/libceph-switch-more-to-bool-in-ceph_tcp_sendmsg.patch26
-rw-r--r--series.conf1
2 files changed, 27 insertions, 0 deletions
diff --git a/patches.suse/libceph-switch-more-to-bool-in-ceph_tcp_sendmsg.patch b/patches.suse/libceph-switch-more-to-bool-in-ceph_tcp_sendmsg.patch
new file mode 100644
index 0000000000..c63078d54c
--- /dev/null
+++ b/patches.suse/libceph-switch-more-to-bool-in-ceph_tcp_sendmsg.patch
@@ -0,0 +1,26 @@
+From: Ilya Dryomov <idryomov@gmail.com>
+Date: Wed, 21 Nov 2018 18:56:40 +0100
+Subject: libceph: switch more to bool in ceph_tcp_sendmsg()
+Git-commit: 87349cdad963163b55cf7d327f5d47a647339838
+Patch-mainline: v5.0-rc1
+References: bsc#1122215
+
+Unlike in ceph_tcp_sendpage(), it's a bool.
+
+Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
+Acked-by: Luis Henriques <lhenriques@suse.com>
+---
+ net/ceph/messenger.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/net/ceph/messenger.c
++++ b/net/ceph/messenger.c
+@@ -556,7 +556,7 @@ static int ceph_tcp_recvpage(struct sock
+ * 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;
diff --git a/series.conf b/series.conf
index d18c2469f1..70389d9732 100644
--- a/series.conf
+++ b/series.conf
@@ -42497,6 +42497,7 @@
patches.suse/libceph-drop-last_piece-logic-from-write_partial_message_data.patch
patches.suse/libceph-use-sock_no_sendpage-as-a-fallback-in-ceph_tcp_sendpage.patch
patches.suse/libceph-use-msg_sendpage_notlast-with-ceph_tcp_sendpage.patch
+ patches.suse/libceph-switch-more-to-bool-in-ceph_tcp_sendmsg.patch
patches.fixes/ceph-don-t-update-importing-cap-s-mseq-when-handing-cap-export.patch
patches.fixes/xfs-xfs_buf-drop-useless-LIST_HEAD.patch
patches.drivers/thermal-bcm2835-enable-hwmon-explicitly.patch