Thread (7 messages) 7 messages, 2 authors, 2022-12-18
STALE1277d

[PATCH 5/6] nfsd(7): Correct formatting of "select or poll"

From: cel@kernel.org
Date: 2022-12-18 17:37:56
Subsystem: the rest · Maintainer: Linus Torvalds

From: Chuck Lever <chuck.lever@oracle.com>

Man page: nfsd.7
Issue:    select(2) or poll(2) → B<select>(2) or B<poll>(2)

"If the program uses select(2) or poll(2) to discover if it can read from the "
"B<channel> then it will never see and end-of-file but when all requests have "
"been answered, it will block until another request appears."

Reported-by: Helge Kreutzmann <redacted>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 utils/exportfs/nfsd.man |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/utils/exportfs/nfsd.man b/utils/exportfs/nfsd.man
index 9481670f9ffc..72fe5b1467eb 100644
--- a/utils/exportfs/nfsd.man
+++ b/utils/exportfs/nfsd.man
@@ -158,8 +158,11 @@ nfsd 127.0.0.1 1057206953 localhost
 .br
 to indicate that 127.0.0.1 should map to localhost, at least for now.
 
-If the program uses select(2) or poll(2) to discover if it can read
-from the
+If the program uses
+.BR select (2)
+or
+.BR poll (2)
+to discover if it can read from the
 .B channel
 then it will never see and end-of-file but when all requests have been
 answered, it will block until another request appears.

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help