On Mon, 23 Feb 2026 14:50:49 -0800
<[email protected]> wrote:

> Bart Van Assche wrote:
> > From: Bart Van Assche <[email protected]>
> > 
> > Only unlock dax_dev_rwsem if it has been locked. This locking bug was
> > detected by the Clang thread-safety analyzer.
> > 
> > Cc: Dan Williams <[email protected]>
> > Cc: Vishal Verma <[email protected]>
> > Cc: Dave Jiang <[email protected]>
> > Cc: Alison Schofield <[email protected]>
> > Cc: [email protected]
> > Cc: [email protected]
> > Fixes: c05ae9d85b47 ("dax/bus.c: replace driver-core lock usage by a local 
> > rwsem")
> > Signed-off-by: Bart Van Assche <[email protected]>  
> 
> Looks good,
> 
> Reviewed-by: Dan Williams <[email protected]>
> 

Agreed
Reviewed-by: Jonathan Cameron <[email protected]>

Maybe worth some ACQUIRE() magic as a follow up.


Reply via email to