Thread: Typo in dshash_find() comments

Typo in dshash_find() comments

From
Julien Rouhaud
Date:
Hi,

I just noticed that a comment for dshash_find() mentions:

"caller must not lock a lock already"

Simple patch to rephrase with "hold a lock" attached.

Attachment

Re: Typo in dshash_find() comments

From
Magnus Hagander
Date:
On Tue, Apr 20, 2021 at 2:16 PM Julien Rouhaud <rjuju123@gmail.com> wrote:
>
> Hi,
>
> I just noticed that a comment for dshash_find() mentions:
>
> "caller must not lock a lock already"
>
> Simple patch to rephrase with "hold a lock" attached.

Pushed, thanks.


-- 
 Magnus Hagander
 Me: https://www.hagander.net/
 Work: https://www.redpill-linpro.com/



Re: Typo in dshash_find() comments

From
Julien Rouhaud
Date:
On Tue, Apr 20, 2021 at 02:37:16PM +0200, Magnus Hagander wrote:
> On Tue, Apr 20, 2021 at 2:16 PM Julien Rouhaud <rjuju123@gmail.com> wrote:
> >
> > Hi,
> >
> > I just noticed that a comment for dshash_find() mentions:
> >
> > "caller must not lock a lock already"
> >
> > Simple patch to rephrase with "hold a lock" attached.
> 
> Pushed, thanks.

Thanks Magnus!