forked from torvalds/linux
-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
this should fix it, but there's upstream fixes too I think:
--- a/ublk_drv.c
+++ b/ublk_drv.c
@@ -3280,13 +3280,13 @@
ub->dev_info.nr_hw_queues, nr_cpu_ids);
ublk_align_max_io_size(ub);
- ret = ublk_init_queues(ub);
+ ret = ublk_add_tag_set(ub);
if (ret)
goto out_free_dev_number;
- ret = ublk_add_tag_set(ub);
+ ret = ublk_init_queues(ub);
if (ret)
- goto out_deinit_queues;
+ goto out_free_tag_set;
ret = -EFAULT;
if (copy_to_user(argp, &ub->dev_info, sizeof(info)))
Metadata
Metadata
Assignees
Labels
No labels