Re: [PATCH] man/man2/statmount.2: document flags argument
From: Alejandro Colomar
Date: Thu Dec 18 2025 - 18:50:19 EST
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 <hi@xxxxxxxxx>
Thanks! Patch applied.
Have a lovely night!
Alex
> ---
> 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>
Attachment:
signature.asc
Description: PGP signature