2021-10-03 12:25:24

by Jeff Layton

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

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

Cc: Jan Kara <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
---
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


2021-10-03 12:37:36

by Alejandro Colomar

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

Hi Jeff,

On 10/3/21 2:23 PM, Jeff Layton wrote:
> This support has been fully removed from the kernel as of v5.15.
>
> Cc: Jan Kara <[email protected]>
> Signed-off-by: Jeff Layton <[email protected]>

Both patches applied.

Thanks,

Alex

> ---
> 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.
>


--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/