Commit 385560a4 authored by Xiang Chen's avatar Xiang Chen Committed by sanglipeng
Browse files

scsi: core: Fix a comment in function scsi_host_dev_release()

stable inclusion
from stable-v5.10.176
commit be5aa2534188ab5df96508b532bcd59181650e5f
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8CHVQ

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=be5aa2534188ab5df96508b532bcd59181650e5f

--------------------------------

[ Upstream commit 2dde5c8d ]

Commit 3be8828f ("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: default avatarXiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Stable-dep-of: be03df3d ("scsi: core: Fix a procfs host directory removal regression")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 25f2f220
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment