diff options
author | Christoph Hellwig <[email protected]> | 2022-05-23 10:38:13 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-05-23 23:24:10 -0400 |
commit | 7274ce0558adb4b9b1f5c5b613fb4fe331c18911 (patch) | |
tree | 6f8b8d1ea15dade400bf69e77e1cdc4c5fda6540 /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | 476e45923b5df19534178d0ed5c87c517dd6f669 (diff) |
scsi: sd: Don't call blk_cleanup_disk() in sd_probe()
In SCSI the midlayer has ownership of the request_queue, so on probe
failure we must only put the gendisk, but leave the request_queue alone.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 03252259e18e ("scsi: sd: Clean up gendisk if device_add_disk() failed")
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions