]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man2const/F_GETLEASE.2const: ERRORS: Document lease-specific errors
authorJeff Layton <jlayton@kernel.org>
Wed, 14 Jan 2026 17:35:25 +0000 (12:35 -0500)
committerAlejandro Colomar <alx@kernel.org>
Wed, 14 Jan 2026 19:46:23 +0000 (20:46 +0100)
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>
man/man2const/F_GETLEASE.2const

index 10f7ac7a89a70b83be10a381462d879cff813471..23b2c0bf3d1b5e1350bf5ed61562374bb3f0df67 100644 (file)
@@ -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