> On 1 Aug 2017, at 15.42, Hannes Reinecke <[email protected]> wrote:
> 
> From: Bodo Stroesser <[email protected]>
> 
> If blk_queue_get() in st_probe fails, disk->queue must not
> be set to SDp->request_queue, as that would result in
> put_disk() dropping a not taken reference.
> 
> Thus, disk->queue should be set only after a successful
> blk_queue_get().
> 
> Signed-off-by: Bodo Stroesser <[email protected]>
> Acked-by: Shirish Pargaonkar <[email protected]>
> Signed-off-by: Hannes Reinecke <[email protected]>
Acked-by: Kai Mäkisara <[email protected]>

Thanks,
Kai

Reply via email to