Re: [PATCH 3/3] lockref: remove count argument of lockref_init
From: Andreas Gruenbacher
Date: Wed Jan 29 2025 - 12:20:10 EST
On Wed, Jan 29, 2025 at 4:44 PM Christoph Hellwig <hch@xxxxxx> wrote:
> Maybe the lockref_init kerneldoc now needs to say that it's initialized
> to a hold count of 1?
I always feel a bit guilty when adding a comment like "Initializes
@lockref->count to 1" and five lines further down in the code, it says
'lockref->count = 1'. But okay.
> Otherwise looks good:
>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
>
Thanks,
Andreas