Blame SOURCES/1673142-mpo-8.2.0.0-copy_file_range.2.patch

35aca8
From 077bf992f0deb7d9bb17568726be33ca4209e89c Mon Sep 17 00:00:00 2001
35aca8
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
35aca8
Date: Fri, 13 Dec 2019 14:21:57 +0100
35aca8
Subject: [PATCH] copy_file_range.2: update ERRORS
35aca8
35aca8
---
35aca8
 man-pages/man2/copy_file_range.2 | 9 +++++++--
35aca8
 1 file changed, 7 insertions(+), 2 deletions(-)
35aca8
35aca8
diff --git a/man-pages/man2/copy_file_range.2 b/man-pages/man2/copy_file_range.2
35aca8
index 35c0967..f25ea95 100644
35aca8
--- a/man-pages/man2/copy_file_range.2
35aca8
+++ b/man-pages/man2/copy_file_range.2
35aca8
@@ -78,7 +78,7 @@ is adjusted appropriately.
35aca8
 The
35aca8
 .I flags
35aca8
 argument is provided to allow for future extensions
35aca8
-and currently must be to 0.
35aca8
+and currently must be set to 0.
35aca8
 .SH RETURN VALUE
35aca8
 Upon successful completion,
35aca8
 .BR copy_file_range ()
35aca8
@@ -109,7 +109,11 @@ maximum file size or the process's file size limit,
35aca8
 or to write at a position past the maximum allowed offset.
35aca8
 .TP
35aca8
 .B EINVAL
35aca8
-Requested range extends beyond the end of the source file; or the
35aca8
+Requested range extends beyond the end of the source file; or either
35aca8
+.I fd_in
35aca8
+or
35aca8
+.I fd_out
35aca8
+is not a regular file; or the
35aca8
 .I flags
35aca8
 argument is not 0.
35aca8
 .TP
35aca8
@@ -117,6 +121,7 @@ argument is not 0.
35aca8
 A low-level I/O error occurred while copying.
35aca8
 .TP
35aca8
 .B EISDIR
35aca8
+Either
35aca8
 .I fd_in
35aca8
 or
35aca8
 .I fd_out
35aca8
-- 
35aca8
2.21.0
35aca8