DORMANTno replies LANDED

Landed in mainline as 2dde5c8d912e on 2021-05-15.

[PATCH] scsi: Fix a comment in function scsi_host_dev_release()

From: chenxiang <hidden>
Date: 2021-05-10 12:02:42
Subsystem: scsi subsystem, the rest · Maintainers: "James E.J. Bottomley", "Martin K. Petersen", Linus Torvalds

From: Xiang Chen <redacted>

After the patch (3be8828fc507 ("scsi: core: Avoid that ATA error handling 
can trigger a kernel hang or oops")), it uses rcu to scsi_cmnd instead 
of shost, so modify "shost->rcu" to "scmd->rcu" in a comment.

Signed-off-by: Xiang Chen <redacted>
---
 drivers/scsi/hosts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
index 697c09e..ba72bd4 100644
--- a/drivers/scsi/hosts.c
+++ b/drivers/scsi/hosts.c
@@ -317,7 +317,7 @@ static void scsi_host_dev_release(struct device *dev)
 
 	scsi_proc_hostdir_rm(shost->hostt);
 
-	/* Wait for functions invoked through call_rcu(&shost->rcu, ...) */
+	/* Wait for functions invoked through call_rcu(&scmd->rcu, ...) */
 	rcu_barrier();
 
 	if (shost->tmf_work_q)
-- 
2.8.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help