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

From: Martin K. Petersen

Date: Sat Feb 28 2026 - 21:20:09 EST


On Mon, 16 Feb 2026 11:50:02 +0530, Prithvi Tambewagh wrote:

> In flush_write_buffer, &p->frag_sem is acquired and then the loaded store
> function is called, which, here, is target_core_item_dbroot_store().
> This function called filp_open(), following which these functions were
> called (in reverse order), according to the call trace:
>
> down_read
> __configfs_open_file
> do_dentry_open
> vfs_open
> do_open
> path_openat
> do_filp_open
> file_open_name
> filp_open
> target_core_item_dbroot_store
> flush_write_buffer
> configfs_write_iter
>
> [...]

Applied to 7.0/scsi-fixes, thanks!

[1/1] scsi: target: fix recursive locking in __configfs_open_file()
https://git.kernel.org/mkp/scsi/c/14d4ac19d189

--
Martin K. Petersen