Commit 94c2dd8b authored by Daniel Verkamp's avatar Daniel Verkamp Committed by Jim Harris
Browse files

nvme/hotplug: print message when a device is removed



Change-Id: If9c116d72bd889196331567542920c3ca818c68e
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 64fc2912
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -770,6 +770,7 @@ remove_cb(void *cb_ctx, struct spdk_nvme_ctrlr *ctrlr)
	while (entry) {
		if (entry->ctrlr == ctrlr) {
			entry->is_removed = true;
			printf("Controller removed: %s\n", entry->name);
			break;
		}
		entry = entry->next;