nvme_change_ctrl_state() bug?
Steve Wise
swise at opengridcomputing.com
Fri Aug 12 10:28:20 PDT 2016
Shouldn't the assigning of the state be inside the lock?
.
spin_unlock_irq(&ctrl->lock);
if (changed)
ctrl->state = new_state;
return changed;
More information about the Linux-nvme
mailing list