Thread (2 messages) 2 messages, 2 authors, 2025-12-18

Re: [PATCH] man/man2/statmount.2: document flags argument

From: Alejandro Colomar <alx@kernel.org>
Date: 2025-12-18 23:50:19
Also in: linux-fsdevel, lkml

Hi Alyssa,

On Fri, Dec 19, 2025 at 12:05:17AM +0100, Alyssa Ross wrote:
Reading the man page for the first time, I assumed the lack of
mentioned flags meant that there weren't any, but I had to check the
kernel source to be sure.  Sure enough:

	if (flags)
		return -EINVAL;

Signed-off-by: Alyssa Ross <redacted>
Thanks!  Patch applied.


Have a lovely night!
Alex
quoted hunk ↗ jump to hunk
---
 man/man2/statmount.2 | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/man/man2/statmount.2 b/man/man2/statmount.2
index 8a83d5e34..cdc96da92 100644
--- a/man/man2/statmount.2
+++ b/man/man2/statmount.2
@@ -68,6 +68,8 @@ The returned buffer is a
 which is of size
 .I bufsize
 with the fields filled in as described below.
+.I flags
+must be 0.
 .P
 (Note that reserved space and padding is omitted.)
 .SS The mnt_id_req structure
base-commit: a5342ef55f0a96790bf279a98c9d2a30b19fc9eb
-- 
2.51.0
-- 
<https://www.alejandro-colomar.es>

Attachments

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