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

From: Alyssa Ross

Date: Thu Dec 18 2025 - 18:07:05 EST


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 <hi@xxxxxxxxx>
---
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