]> Cypherpunks repositories - gostls13.git/commit
Revert "internal/poll: drop redundant ENOSYS in CopyFileRange"
authorIan Lance Taylor <iant@golang.org>
Tue, 21 Feb 2023 23:00:01 +0000 (23:00 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 22 Feb 2023 17:34:03 +0000 (17:34 +0000)
commit494aeba5bbe73e75408a4b29f7d1c7b58279893e
tree83595ff3d8a27a696a68f47a08090e0c9fce3b7b
parent81316ff50a4a81cc2077f8a831b4e1896c56a564
Revert "internal/poll: drop redundant ENOSYS in CopyFileRange"

This reverts CL 428555.

Reason for revert: It appears that even a newer kernel can get
ENOSYS from copy_file_range.

Fixes #58592

Change-Id: Ib8dd1be61544f54bf652a99dc0b449109f8f50ed
Reviewed-on: https://go-review.googlesource.com/c/go/+/470016
Reviewed-by: Andy Pan <panjf2000@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
src/internal/poll/copy_file_range_linux.go