summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Xu <xuyang2018.jy@fujitsu.com>2023-05-23 13:17:15 +0800
committerAlejandro Colomar <alx@kernel.org>2023-05-24 01:25:15 +0200
commit4ca216bacc7d185c1af3c384ab53cd1ec74830d1 (patch)
tree34a1cc3ef13809935870693ddf705b748363e7da
parent2653721a76cc16d1f97d877d08db3ce5ef55ce34 (diff)
statx.2: Document STAT_ATTR_MOUNT_ROOT
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>
-rw-r--r--man2/statx.24
1 files changed, 4 insertions, 0 deletions
diff --git a/man2/statx.2 b/man2/statx.2
index 3bc4932b0..a3d85b13b 100644
--- a/man2/statx.2
+++ b/man2/statx.2
@@ -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