Hi Bart,
Bart Van Assche bart.vanassche@wdc.com writes: [...]
- if (shost_state != shost->shost_state) {
spin_unlock_irqrestore(shost->host_lock, flags);
synchronize_rcu();
spin_lock_irqsave(shost->host_lock, flags);
- }
Plese correct me if I'm wrong, but once you drop the host lock all assumptions about states it protects are void, aren't they?