mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 17:11:33 +00:00
bd46a90634
Ensure the controller is not in the NEW state when nvme_probe() exits. This will always allow a subsequent nvme_remove() to set the state to DELETING, fixing a potential race between the initial asynchronous probe and device removal. Reported-by: Li Zhong <lizhongfs@gmail.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Sagi Grimberg <sagi@grimberg.me> |
||
---|---|---|
.. | ||
host | ||
target | ||
Kconfig | ||
Makefile |