ryantimwilson / rpms / systemd

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