On Sat, Nov 19, 2022 at 03:00:39AM +0000, Al Viro wrote: > in scsi_alloc_sdev() possibly avoid leaking sdev->request_queue on the > second failure exit? It can't. > Shouldn't we do blk_mq_destroy_queue()/blk_put_queue() on that failure > exit? As far as I can tell: yes.