> On 1 Aug 2017, at 15.42, Hannes Reinecke <h...@suse.de> wrote: > > From: Bodo Stroesser <bstroes...@ts.fujitsu.com> > > 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 <bstroes...@ts.fujitsu.com> > Acked-by: Shirish Pargaonkar <spargaon...@suse.com> > Signed-off-by: Hannes Reinecke <h...@suse.com> Acked-by: Kai Mäkisara <kai.makis...@kolumbus.fi>
Thanks, Kai