On Fri, 2017-12-01 at 11:42 +0300, Pavel Tikhomirov wrote:
> On 12/01/2017 01:44 AM, Bart Van Assche wrote:
> > + if (shost_state != shost->shost_state) {
> > + spin_unlock_irqrestore(shost->host_lock, flags);
> > + synchronize_rcu();
>
> We can come here from interrupt context, so may be we should use
> call_rcu() here instead.Hello Pavel, I will rework this patch such that it uses call_rcu() instead of synchronize_rcu(). Bart.

