Re: [PATCH v2 20/26] null_blk: Enable lock context analysis

Christoph Hellwig
2026-03-26T14:19:33Z

On Wed, Mar 25, 2026 at 02:45:01PM -0700, Bart Van Assche wrote:
> Convert __releases() __acquires() into __must_hold(). Add __must_hold()
> annotations where these are missing. Annotate two functions that use
> conditional locking with __no_context_analysis. Enable lock context
> analysis in the Makefile.

Not a very good explanation why this is needed and there's not better
way to avoid the big hammer.