On 30.01.2023 19:28, Julien Grall wrote:
> From: Julien Grall <[email protected]>
> 
> The lock is not meant to be modified by _rw_is{,_write}_locked(). So
> constify it.
> 
> This is helpful to be able to assert if the lock is taken when the
> underlying structure is const.
> 
> Signed-off-by: Julien Grall <[email protected]>

Reviewed-by: Jan Beulich <[email protected]>
(maybe also Requested-by)

Thanks for doing this on top of the spinlock change.

Jan

Reply via email to