Re: [PATCH] cdrom: gdrom: fix device number leak

From: Tejun Heo
Date: Fri May 17 2013 - 12:53:29 EST


On Fri, May 17, 2013 at 02:19:12PM +0800, Libo Chen wrote:
>
> without this patch, gdrom_major will leak when gd.cd_info alloc faild
>
> Signed-off-by: Libo Chen <libo.chen@xxxxxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

This should be routed through the block tree. Can you please repost
with Jens Axboe <axboe@xxxxxxxxx> added?

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/