Re: [PATCH] block, blk-sysfs: Fix an err return path in blk_register_queue()

From: Jens Axboe
Date: Tue Apr 19 2011 - 07:51:14 EST


On 2011-04-19 10:17, Liu Yuan wrote:
> From: Liu Yuan <tailai.ly@xxxxxxxxxx>
>
> We do not call blk_trace_remove_sysfs() in err return path
> if kobject_add() fails. This path fixes it.

Thanks, applied.

--
Jens Axboe

--
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/