Re: dm: check for kmalloc failure in dm_init_request_based_blk_mq_queue()

From: Mike Snitzer
Date: Tue Feb 09 2016 - 10:08:29 EST


On Tue, Feb 09 2016 at 6:14am -0500,
Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:

> We can just return -ENOMEM if the kzalloc() fails.
>
> Fixes: 41b2facaf4ba ('dm: allocate blk_mq_tag_set rather than embed in mapped_device')
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Thanks, folded in.