2021-10-03 12:26:11

by Jeff Layton

[permalink] [raw]
Subject: [PATCH v2] 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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

v2: Use semantic newline per Alejandro's suggestion.

diff --git a/man2/fcntl.2 b/man2/fcntl.2
index 7b5604e3a699..4b53a0a2640b 100644
--- a/man2/fcntl.2
+++ b/man2/fcntl.2
@@ -620,7 +620,7 @@ 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.
+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-03 12:37:35

by Alejandro Colomar

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

On 10/3/21 2:24 PM, Jeff Layton wrote:
> Cc: Jan Kara <[email protected]>
> Signed-off-by: Jeff Layton <[email protected]>
> ---

Patch applied.

Thanks,

Alex

> man2/fcntl.2 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> v2: Use semantic newline per Alejandro's suggestion.
>
> diff --git a/man2/fcntl.2 b/man2/fcntl.2
> index 7b5604e3a699..4b53a0a2640b 100644
> --- a/man2/fcntl.2
> +++ b/man2/fcntl.2
> @@ -620,7 +620,7 @@ 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.
> +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.
>


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