OSDN Git Service

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)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 15 May 2021 02:54:37 +0000 (22:54 -0400)
commit2dde5c8d912efea43be94d6a83ac9cb74879fa12
tree3104b4b24e0cda9daea9edcb970a2ba65b8ad265
parent09c65383970e79db0322962efc9e56a0785580f3
scsi: core: Fix a comment in function scsi_host_dev_release()

Commit 3be8828fc507 ("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>
drivers/scsi/hosts.c