Message ID | 20221016162305.2489629-11-joel@joelfernandes.org (mailing list archive) |
---|---|
State | Accepted |
Commit | eb92b6d1259c44ffb89b36622e0b653ed2de1fd7 |
Headers | show |
Series | rcu: call_rcu() power improvements | expand |
diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index 448748e3fba5..a56cfd612e3a 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); } /**