about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2021-11-23 08:09:48 +0100
committerGeorg Brandl <georg@python.org>2021-11-23 11:10:49 +0100
commitb490ccc22746375e154352466fb0d0deafb50194 (patch)
treea2b480e10cbe4bd6909d8560fabb291481117a43 /compiler/rustc_codegen_gcc
parent2e055d92e0d527b273d12584bd842f6527e7652c (diff)
downloadrust-b490ccc22746375e154352466fb0d0deafb50194.tar.gz
rust-b490ccc22746375e154352466fb0d0deafb50194.zip
kernel_copy: avoid panic on unexpected OS error
According to documentation, the listed errnos should only occur
if the `copy_file_range` call cannot be made at all, so the
assert be correct.  However, since in practice file system
drivers (incl. FUSE etc.) can return any errno they want, we
should not panic here.

Fixes #91152
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions