]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
sync.2: Minor tweaks to Jeff Layton's patch
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 26 Jun 2020 09:07:30 +0000 (11:07 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 26 Jun 2020 09:11:01 +0000 (11:11 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/sync.2

index 61e994c5affc974f4fe730937c86207a50385b64..a6ba597a42c81ed31b185333e1ec727820dad2ec 100644 (file)
@@ -138,11 +138,16 @@ provide the same guarantees as fsync called on every file in
 the system or filesystem respectively.
 .PP
 In mainline kernel versions prior to 5.8,
+.BR syncfs ()
+will fail only when passed a bad file descriptor
+.RB ( EBADF ).
+Since Linux 5.8,
 .\" commit 735e4ae5ba28c886d249ad04d3c8cc097dad6336
 .BR syncfs ()
-will only fail when passed a bad file descriptor (EBADF). In 5.8
-and later kernels, it will also report an error if one or more inodes failed
-to be written back since the last syncfs call.
+will also report an error if one or more inodes failed
+to be written back since the last
+.BR syncfs ()
+call.
 .SH BUGS
 Before version 1.3.20 Linux did not wait for I/O to complete
 before returning.