Commit f782201
scsi: core: Revert "Make sure that targets outlive devices"
Revert the patch series "Call blk_mq_free_tag_set() earlier" because it
introduces a deadlock if the scsi_remove_host() caller holds a reference on
a device, target or host.
Link: https://lore.kernel.org/r/[email protected]
Fixes: fe44260 ("scsi: core: Make sure that targets outlive devices")
Reported-by: [email protected]
Tested-by: Kenneth R. Crudup <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>1 parent d94b2d0 commit f782201
File tree
3 files changed
+3
-21
lines changed- drivers/scsi
- include/scsi
3 files changed
+3
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
524 | | - | |
525 | | - | |
526 | 524 | | |
527 | 525 | | |
528 | 526 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
447 | | - | |
448 | | - | |
| 446 | + | |
449 | 447 | | |
450 | 448 | | |
451 | 449 | | |
| |||
454 | 452 | | |
455 | 453 | | |
456 | 454 | | |
| 455 | + | |
| 456 | + | |
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | 519 | | |
523 | 520 | | |
524 | 521 | | |
| |||
1538 | 1535 | | |
1539 | 1536 | | |
1540 | 1537 | | |
1541 | | - | |
1542 | | - | |
1543 | | - | |
1544 | | - | |
1545 | | - | |
1546 | | - | |
1547 | | - | |
1548 | | - | |
1549 | 1538 | | |
1550 | 1539 | | |
1551 | 1540 | | |
| |||
1656 | 1645 | | |
1657 | 1646 | | |
1658 | 1647 | | |
1659 | | - | |
1660 | | - | |
1661 | | - | |
1662 | 1648 | | |
1663 | 1649 | | |
1664 | 1650 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
313 | | - | |
314 | 312 | | |
315 | 313 | | |
316 | 314 | | |
| |||
0 commit comments