Re: [PATCH v2, resend] lockref: add a __cond_lock annotation for lockref_put_or_lock

From: Linus Torvalds
Date: Tue Dec 09 2025 - 16:02:04 EST


On Tue, 9 Dec 2025 at 17:19, Christoph Hellwig <hch@xxxxxx> wrote:
>
> Add a cond_lock annotation for lockref_put_or_lock to make sparse
> happy with using it.

I'll just take this directly so that we'll have this done this merge window.

Thanks,
Linus