[PATCH] Fix SCSI scanning slab corruption
There is a double free in the scsi scan code if a LLDD's slave_alloc()
call fails. There is a direct call to scsi_free_queue and then the
following put_device calls the release function, which also frees the
queue.
Remove the redundant scsi_free_queue.
Signed-off-by: Brian King <[email protected]>
Tested-by: Nathan Lynch <[email protected]>
[ Also removed some strange whitespace artifacts in that area ]
Signed-off-by: Linus Torvalds <[email protected]>
1 file changed