Re: [PATCH] Documentation/locking/locktypes: fix the typo

From: Jonathan Corbet
Date: Thu Aug 13 2020 - 16:48:14 EST


On Thu, 13 Aug 2020 14:02:20 +0800
Huang Shijie <sjhuang@xxxxxxxxxxx> wrote:

> We have three categories locks, not two.
>
> Signed-off-by: Huang Shijie <sjhuang@xxxxxxxxxxx>
> ---
> Documentation/locking/locktypes.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/locking/locktypes.rst b/Documentation/locking/locktypes.rst
> index 1b577a8bf982..4cefed8048ca 100644
> --- a/Documentation/locking/locktypes.rst
> +++ b/Documentation/locking/locktypes.rst
> @@ -10,7 +10,7 @@ Introduction
> ============
>
> The kernel provides a variety of locking primitives which can be divided
> -into two categories:
> +into three categories:

One can never get away from those off-by-one errors...applied, thanks.

jon