Re: [PATCH v7 1/5] dax/bus.c: replace driver-core lock usage by a local rwsem

From: Andrew Morton
Date: Tue Mar 12 2024 - 16:22:41 EST


On Tue, 12 Mar 2024 20:20:17 +0000 "Verma, Vishal L" <vishal.l.verma@xxxxxxxxx> wrote:

> > All of these WARN_ON_ONCE() usages should be replaced with
> > lockdep_assert_held() and lockdep_assert_held_write() where appropriate.
>
> Makes sense - I can send a patch post -rc1 to change these if that's okay Andrew?

Please do.