Commit 797aa7d8 authored by Seth Howell's avatar Seth Howell Committed by Jim Harris
Browse files

bdev_nvme: register a remove cb for bdev_nvme.

parent bc4e31d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1555,7 +1555,7 @@ bdev_nvme_library_init(void)

	if (local_nvme_num > 0) {
		/* used to probe local NVMe device */
		if (spdk_nvme_probe(NULL, probe_ctx, probe_cb, attach_cb, NULL)) {
		if (spdk_nvme_probe(NULL, probe_ctx, probe_cb, attach_cb, remove_cb)) {
			rc = -1;
			goto end;
		}