aboutsummaryrefslogtreecommitdiffstats
diff options
authorJeff Layton <jlayton@kernel.org>2026-01-14 12:35:25 -0500
committerAlejandro Colomar <alx@kernel.org>2026-01-14 20:46:23 +0100
commiteeab0484cec238371f080d9508c2fd756556090c (patch)
tree6a57c7e81a2e3dae59115612f63860156bb4c3fd
parentc5800b3bb828cb098445ca372f8b9d69eea4e688 (diff)
downloadman-pages-eeab0484cec238371f080d9508c2fd756556090c.tar.gz
man/man2const/F_GETLEASE.2const: ERRORS: Document lease-specific errors
Signed-off-by: Jeff Layton <jlayton@kernel.org> Message-ID: <20260114-master-v2-2-719f5b47dfe2@kernel.org> [alx: split commit] Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man2const/F_GETLEASE.2const13
1 files changed, 13 insertions, 0 deletions
diff --git a/man/man2const/F_GETLEASE.2const b/man/man2const/F_GETLEASE.2const
index 10f7ac7a89..23b2c0bf3d 100644
--- a/man/man2const/F_GETLEASE.2const
+++ b/man/man2const/F_GETLEASE.2const
@@ -196,6 +196,19 @@ is set to indicate the error.
.SH ERRORS
See
.BR fcntl (2).
+.P
+These operations can also fail with the following error codes:
+.TP
+.B EAGAIN
+The operation is prohibited because
+the file is open in a way that conflicts with the requested lease.
+.TP
+.B EINVAL
+The operation is prohibited because
+the underlying filesystem doesn't support leases,
+or because
+.I fd
+does not represent a regular file.
.SH STANDARDS
Linux.
.SH HISTORY