]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: core: Fix a comment in function scsi_host_dev_release()
authorXiang Chen <chenxiang66@hisilicon.com>
Mon, 10 May 2021 11:35:26 +0000 (19:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2023 12:28:04 +0000 (13:28 +0100)
commita80eb931a31efe04565edc19909ce31cdd8e5666
treeb88bc01ccefb93b1f9012a346a81561d192b0d59
parenta2739b40e5114bc96ac2620aaa56c7cd396ef4a0
scsi: core: Fix a comment in function scsi_host_dev_release()

[ Upstream commit 729170e7be486f6f6db0f72ad710ba7652edbca8 ]

Commit f0fc58cf49bb ("scsi: core: Avoid that ATA error handling can
trigger a kernel hang or oops") moved rcu to scsi_cmnd instead of
shost. Modify "shost->rcu" to "scmd->rcu" in a comment.

Link: https://lore.kernel.org/r/1620646526-193154-1-git-send-email-chenxiang66@hisilicon.com
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Stable-dep-of: be03df3d4bfe ("scsi: core: Fix a procfs host directory removal regression")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/hosts.c