Re: [PATCH] scsi: target: Fix recursive locking in __configfs_open_file()
From: Prithvi
Date: Wed Jan 21 2026 - 09:16:14 EST
On Tue, Jan 20, 2026 at 05:48:16AM -0800, Bart Van Assche wrote:
> 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.
Sure. I will make v2 patch for the same.
Thanks,
Prithvi