[PATCH] mount.2: note that mandatory locking is now fully deprecated

From: Jeff Layton
Date: Fri Oct 01 2021 - 07:57:29 EST


This support has been fully removed from the kernel as of v5.15.

Cc: Jan Kara <jack@xxxxxxx>
Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
---
man2/mount.2 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/man2/mount.2 b/man2/mount.2
index bedd39e68a68..a7ae65fb0142 100644
--- a/man2/mount.2
+++ b/man2/mount.2
@@ -195,7 +195,8 @@ this mount option requires the
.B CAP_SYS_ADMIN
capability and a kernel configured with the
.B CONFIG_MANDATORY_FILE_LOCKING
-option.
+option. Mandatory locking has been fully deprecated in v5.15 kernels, so
+this flag should be considered deprecated.
.TP
.B MS_NOATIME
Do not update access times for (all types of) files on this filesystem.
--
2.31.1