On 7/6/21 11:33 AM, Klaus Jensen wrote:
From: Klaus Jensen <k.jen...@samsung.com>

Make sure the controller is unregistered from the subsystem when device
is removed.

Signed-off-by: Klaus Jensen <k.jen...@samsung.com>
---
  hw/nvme/nvme.h   | 1 +
  hw/nvme/ctrl.c   | 4 ++++
  hw/nvme/subsys.c | 5 +++++
  3 files changed, 10 insertions(+)

Reviewed-by: Hannes Reinecke <h...@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke                Kernel Storage Architect
h...@suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer

Reply via email to