Re: [PATCH] scsi: target: Fix recursive locking in __configfs_open_file()

Bart Van Assche
2026-01-20T13:48:25Z

On 1/19/26 10:50 AM, Prithvi wrote:
> Possible unsafe locking scenario:
>
> CPU0
> ----
> lock(&p->frag_sem);
> lock(&p->frag_sem);
The least intrusive way to suppress this type of lockdep complaints is
by using lockdep_register_key() and lockdep_unregister_key().

Thanks,

Bart.