Typo in dshash_find() comments

Started by Julien Rouhaudalmost 5 years ago3 messageshackers
Jump to latest
#1Julien Rouhaud
rjuju123@gmail.com

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.

Attachments:

v1-typo-dshash_find.difftext/plain; charset=us-asciiDownload+1-1
#2Magnus Hagander
magnus@hagander.net
In reply to: Julien Rouhaud (#1)
Re: Typo in dshash_find() comments

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/

#3Julien Rouhaud
rjuju123@gmail.com
In reply to: Magnus Hagander (#2)
Re: Typo in dshash_find() comments

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!