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:Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Stable-dep-of: be03df3d ("scsi: core: Fix a procfs host directory removal regression") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment