nvme/hotplug: print message when a device is removed
Change-Id: If9c116d72bd889196331567542920c3ca818c68e Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
64fc291291
commit
94c2dd8bdf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user