[PATCH v2 04/10] man/man2/statmount.2: Document STATMOUNT_SB_SOURCE
Bhavik Sachdev <[email protected]> Sun, 22 Feb 2026 20:15:54 +0530
| Newsgroups | dev.linux.lists.criu,org.kernel.vger.linux-man |
|---|---|
| Message-ID | <569933a8b526b89d35e84d5f0af42c7a4711b97f.1771771560.git.b.sachdev1904@gmail.com> |
Document STATMOUNT_SB_SOURCE flag and the corresponding field introduced by it. This text is based on this commit message [1]. Link [1]: <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=44010543fc8bedad172aa5b6c43480e5d2124497> Signed-off-by: Bhavik Sachdev <[email protected]> --- man/man2/statmount.2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/man/man2/statmount.2 b/man/man2/statmount.2 index 29080246b..f7a2feff9 100644 --- a/man/man2/statmount.2 +++ b/man/man2/statmount.2 @@ -51,6 +51,7 @@ .SH SYNOPSIS .B " __u32 mnt_point;" .B " __u64 mnt_ns_id;" .B " __u32 fs_subtype;" +.B " __u32 sb_source;" .B " char str[];" .B }; .EE @@ -112,6 +113,7 @@ .SS The mnt_id_req structure STATMOUNT_MNT_NS_ID /* Want/got mnt_ns_id */ STATMOUNT_MNT_OPTS /* Want/got mnt_opts */ STATMOUNT_FS_SUBTYPE /* Want/got fs_subtype */ +STATMOUNT_SB_SOURCE /* Want/got sb_source */ .TE .in .P @@ -268,6 +270,12 @@ .SS The returned information buffer that contains the string representation of the file system subtype. This is particularly useful for disambiguating FUSE mounts. It is a null-terminated string. +.TP +.IR smbuf.sb_source " (since Linux 6.13)" +The offset to the location in the +.I smbuf.str +that contains the source of the mount. +It is a null-terminated string. .SH RETURN VALUE On success, zero is returned. On error, \-1 is returned, and -- 2.53.0