Message ID | 20221019225144.2500095-12-paulmck@kernel.org (mailing list archive) |
---|---|
State | Superseded |
Commit | 716cac6652c8512ba939a7f62eada6589d9c84d6 |
Headers | show |
Series | Lazy call_rcu() updates for v6.2 | expand |
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index 6995c89792300..634672e67c81f 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c @@ -312,7 +312,7 @@ void scsi_eh_scmd_add(struct scsi_cmnd *scmd) * Ensure that all tasks observe the host state change before the * host_failed change. */ - call_rcu(&scmd->rcu, scsi_eh_inc_host_failed); + call_rcu_flush(&scmd->rcu, scsi_eh_inc_host_failed); } /**