]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2/statmount.2: Document STATMOUNT_SB_SOURCE
authorBhavik Sachdev <b.sachdev1904@gmail.com>
Sun, 22 Feb 2026 14:45:54 +0000 (20:15 +0530)
committerAlejandro Colomar <alx@kernel.org>
Thu, 5 Mar 2026 17:11:37 +0000 (18:11 +0100)
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 <b.sachdev1904@gmail.com>
Message-ID: <569933a8b526b89d35e84d5f0af42c7a4711b97f.1771771560.git.b.sachdev1904@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/statmount.2

index 20e1894c222e0d8d3dd675645393f2a89f72bebb..a6e15eeb5e4c3f5653c4515071de35bfaa196b75 100644 (file)
@@ -51,6 +51,7 @@ Standard C library
 .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 @@ STATMOUNT_FS_TYPE   /* Want/got fs_type */
 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 @@ The offset to the location in the
 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