Skip to contentSkip to conversation

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

PATCH In review Jeff Layton 2 participants 2 messages Oct 3, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 mount.2: note that mandatory locking is now fully deprecated

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

---
 man2/mount.2 | 2 ++
 1 file changed, 2 insertions(+)

v2: use semantic newline, per Alejandro's suggestion

man2/mount.2 +2 -0
index bedd39e68a68..302baf6ebeb8 100644
@@ -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.
Signature · 1 line
2.31.1
#1 lore raw

Hi Jeff,

Quoted 4 lines · Jeff Layton

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

Both patches applied.

Thanks,

Alex

Quoted 20 lines
---
  man2/mount.2 | 2 ++
  1 file changed, 2 insertions(+)

v2: use semantic newline, per Alejandro's suggestion

man2/mount.2 +2 -0
index bedd39e68a68..302baf6ebeb8 100644
@@ -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.
Signature · 3 lines
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/