Re: [PATCH 9/9] man/man2/statmount.2: Document STATMOUNT_BY_FD
Andrei Vagin <[email protected]> Wed, 28 Jan 2026 11:38:47 -0800
| Newsgroups | dev.linux.lists.criu,org.kernel.vger.linux-man |
|---|---|
| Message-ID | <CAEWA0a77rfpVv93RhyZvoaARtpRxG+Q_aFaDgNR6v=nFTpYzqw@mail.gmail.com> |
On Wed, Jan 28, 2026 at 6:06 AM Bhavik Sachdev <[email protected]> wrote: > > STATMOUNT_BY_FD introduces the ability to get information about a mount > using a fd on the mount. This functionality is currently in linux-next > [1]. > > Link [1]: > <https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20260126&id=d5bc4e31f2a3f301b4214858bec834c67bb2be5c> > > Signed-off-by: Bhavik Sachdev <[email protected]> > --- > man/man2/statmount.2 | 33 ++++++++++++++++++++++++++++++++- > 1 file changed, 32 insertions(+), 1 deletion(-) > > diff --git a/man/man2/statmount.2 b/man/man2/statmount.2 > index 79ee752c1..d354f988e 100644 > --- a/man/man2/statmount.2 > +++ b/man/man2/statmount.2 > @@ -24,6 +24,7 @@ .SH SYNOPSIS > .EX > .B struct mnt_id_req { > .BR " __u32 size;" " /* sizeof(struct mnt_id_req) */" > +.BR " __u32 mnt_fd;" " /* fd on the mount being queried */" struct mnt_id_req { __u32 size; union { __u32 mnt_ns_fd; __u32 mnt_fd; }; __u64 mnt_id; __u64 param; __u64 mnt_ns_id; }; Could you please document mnt_ns_fd as well? Thanks, Andrei