2021-10-01 13:43:55

by Jeff Layton

[permalink] [raw]
Subject: [PATCH] fcntl.2: note that mandatory locking is fully deprecated as of v5.15

Cc: Jan Kara <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
---
man2/fcntl.2 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man2/fcntl.2 b/man2/fcntl.2
index 7b5604e3a699..90e4c4a9f379 100644
--- a/man2/fcntl.2
+++ b/man2/fcntl.2
@@ -619,8 +619,8 @@ Because of these bugs,
and the fact that the feature is believed to be little used,
since Linux 4.5, mandatory locking has been made an optional feature,
governed by a configuration option
-.RB ( CONFIG_MANDATORY_FILE_LOCKING ).
-This is an initial step toward removing this feature completely.
+.RB ( CONFIG_MANDATORY_FILE_LOCKING ). This feature is no longer
+supported at all in Linux 5.15 and above.
.PP
By default, both traditional (process-associated) and open file description
record locks are advisory.
--
2.31.1


2021-10-02 17:47:05

by Alejandro Colomar

[permalink] [raw]
Subject: Re: [PATCH] fcntl.2: note that mandatory locking is fully deprecated as of v5.15

On 10/1/21 2:13 PM, Jeff Layton wrote:
> Cc: Jan Kara <[email protected]>
> Signed-off-by: Jeff Layton <[email protected]>
> ---
> man2/fcntl.2 | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/man2/fcntl.2 b/man2/fcntl.2
> index 7b5604e3a699..90e4c4a9f379 100644
> --- a/man2/fcntl.2
> +++ b/man2/fcntl.2
> @@ -619,8 +619,8 @@ Because of these bugs,
> and the fact that the feature is believed to be little used,
> since Linux 4.5, mandatory locking has been made an optional feature,
> governed by a configuration option
> -.RB ( CONFIG_MANDATORY_FILE_LOCKING ).
> -This is an initial step toward removing this feature completely.
> +.RB ( CONFIG_MANDATORY_FILE_LOCKING ). This feature is no longer
> +supported at all in Linux 5.15 and above.

The same applies here. Please use a newline after '.', as the previous
text did.

Thanks,

Alex

> .PP
> By default, both traditional (process-associated) and open file description
> record locks are advisory.
>


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