]> git.ipfire.org Git - thirdparty/coreutils.git/commit
copy: copy_file_range: handle ENOENT for CIFS
authorPádraig Brady <P@draigBrady.com>
Sat, 7 Jan 2023 16:10:01 +0000 (16:10 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 8 Jan 2023 13:34:52 +0000 (13:34 +0000)
commit7fc84d1c0f6b35231b0b4577b70aaa26bf548a7c
tree5b489ab51657180d96ce6505a1afd74bd8994a33
parente64113d601871b41234491b0306a039a1d057ad6
copy: copy_file_range: handle ENOENT for CIFS

* src/copy.c (sparse_copy): Fallback to standard copy upon ENOENT,
which was seen intermittently across CIFS file systems.
* NEWS: Mention the bug fix, though qualify it as an "issue"
rather than a bug, as coreutils is likely only highlighting
a CIFS bug in this case.
Fixes https://bugs.gnu.org/60455
NEWS
src/copy.c