nvme_change_ctrl_state() bug?
Shouldn't the assigning of the state be inside the lock?
.
spin_unlock_irq(&ctrl->lock);
if (changed)
ctrl->state = new_state;
return changed;Quoted 1 line · Steve Wise
Shouldn't the assigning of the state be inside the lock?
Yes, I sent a patch for it, but it hasn't been accepted yet.
http://lists.infradead.org/pipermail/linux-nvme/2016-July/005551.html
Signature · 1 line
Gabriel Krisman Bertazi