Re: [PATCH] scsi: target: Fix recursive locking in __configfs_open_file()
From: Bart Van Assche
Date: Tue Jan 20 2026 - 08:48:25 EST
On 1/19/26 10:50 AM, Prithvi wrote:
Possible unsafe locking scenario:The least intrusive way to suppress this type of lockdep complaints is
CPU0
----
lock(&p->frag_sem);
lock(&p->frag_sem);
by using lockdep_register_key() and lockdep_unregister_key().
Thanks,
Bart.