We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afd299c commit 04db0e5Copy full SHA for 04db0e5
drivers/nvme/target/core.c
@@ -1210,7 +1210,7 @@ static int __init nvmet_init(void)
1210
1211
error = nvmet_init_discovery();
1212
if (error)
1213
- goto out;
+ goto out_free_work_queue;
1214
1215
error = nvmet_init_configfs();
1216
@@ -1219,6 +1219,8 @@ static int __init nvmet_init(void)
1219
1220
out_exit_discovery:
1221
nvmet_exit_discovery();
1222
+out_free_work_queue:
1223
+ destroy_workqueue(buffered_io_wq);
1224
out:
1225
return error;
1226
}
0 commit comments