Skip to content
Commit be5aa253 authored by Xiang Chen's avatar Xiang Chen Committed by Greg Kroah-Hartman
Browse files

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

[ 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>
parent 0fac20b1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment