Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ed5302d3 authored by Liu Yuan's avatar Liu Yuan Committed by Jens Axboe
Browse files

block, blk-sysfs: Fix an err return path in blk_register_queue()



We do not call blk_trace_remove_sysfs() in err return path
if kobject_add() fails. This path fixes it.

Cc: stable@kernel.org
Signed-off-by: default avatarLiu Yuan <tailai.ly@taobao.com>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent d350e6b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment