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

From: Jeff Layton
Date: Sun Oct 03 2021 - 08:23:40 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 | 2 ++
1 file changed, 2 insertions(+)

v2: use semantic newline, per Alejandro's suggestion

diff --git a/man2/mount.2 b/man2/mount.2
index bedd39e68a68..302baf6ebeb8 100644
--- a/man2/mount.2
+++ b/man2/mount.2
@@ -196,6 +196,8 @@ this mount option requires the
capability and a kernel configured with the
.B CONFIG_MANDATORY_FILE_LOCKING
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