]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
statx.2: Document STAT_ATTR_MOUNT_ROOT
authorYang Xu <xuyang2018.jy@fujitsu.com>
Tue, 23 May 2023 05:17:15 +0000 (13:17 +0800)
committerAlejandro Colomar <alx@kernel.org>
Tue, 23 May 2023 23:25:15 +0000 (01:25 +0200)
Linux 5.10 adds STATX_ATTR_MOUNT_ROOT support.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=80340fe3605c

Add the text to the statx man page.

Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
[ alx: ffix ]
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man2/statx.2

index 3bc4932b05139e6d73497b7bab6bbb44dc647f3d..a3d85b13bfa9b6b8ca6306c9cfc83a00f9df1203 100644 (file)
@@ -521,6 +521,10 @@ without an explicit
 See
 .BR mmap (2)
 for more information.
+.TP
+.BR STATX_ATTR_MOUNT_ROOT " (since Linux 5.10)"
+.\" commit 80340fe3605c0e78cfe496c3b3878be828cfdbfe
+The file is the root of a mount.
 .SH RETURN VALUE
 On success, zero is returned.
 On error, \-1 is returned, and