summaryrefslogtreecommitdiffstats
path: root/src/shared/copy.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:19:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 02:19:40 +0000
commit0a0abc373c07a7744adac48891a393e0882fdb6f (patch)
tree725955c83a4b5835007e94d0f85bb908d42ca897 /src/shared/copy.c
parentReleasing progress-linux version 252.23-1~deb12u1progress7u1. (diff)
downloadsystemd-0a0abc373c07a7744adac48891a393e0882fdb6f.tar.xz
systemd-0a0abc373c07a7744adac48891a393e0882fdb6f.zip
Merging upstream version 252.25.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/shared/copy.c')
-rw-r--r--src/shared/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/copy.c b/src/shared/copy.c
index 9b78b9e..64c61e1 100644
--- a/src/shared/copy.c
+++ b/src/shared/copy.c
@@ -304,7 +304,7 @@ int copy_bytes_full(
if (try_cfr) {
n = try_copy_file_range(fdf, NULL, fdt, NULL, m, 0u);
if (n < 0) {
- if (!IN_SET(n, -EINVAL, -ENOSYS, -EXDEV, -EBADF))
+ if (!IN_SET(n, -EINVAL, -ENOSYS, -EXDEV, -EBADF, -EOPNOTSUPP))
return n;
try_cfr = false;