teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

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

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