teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0598-remove-a-left-over-break.patch

b677e7
From 5944138a54017fc8f1f4c878a1eea96ea18736c4 Mon Sep 17 00:00:00 2001
b677e7
From: David Tardon <dtardon@redhat.com>
b677e7
Date: Fri, 25 Jun 2021 10:42:53 +0200
b677e7
Subject: [PATCH] remove a left-over break
b677e7
b677e7
By the "same logic as above...", we want to continue to fallback here,
b677e7
but the break prohibits that.
b677e7
b677e7
This is a follow-up for ee1aa61c4710ae567a2b844e0f0bb8cb0456ab8c .
b677e7
b677e7
(cherry picked from commit 99df1cb6f50875db513a5b45f18191460a150f3d)
b677e7
b677e7
Related: #1970860
b677e7
---
b677e7
 src/basic/copy.c | 1 -
b677e7
 1 file changed, 1 deletion(-)
b677e7
b677e7
diff --git a/src/basic/copy.c b/src/basic/copy.c
b677e7
index a48c42c5c6..1a0db29ac9 100644
b677e7
--- a/src/basic/copy.c
b677e7
+++ b/src/basic/copy.c
b677e7
@@ -218,7 +218,6 @@ int copy_bytes_full(
b677e7
                                         break;
b677e7
 
b677e7
                                 try_sendfile = try_splice = false; /* same logic as above for copy_file_range() */
b677e7
-                                break;
b677e7
                         } else
b677e7
                                 /* Success! */
b677e7
                                 goto next;