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

Skip to content
Commit c87ffbb8 authored by Xiaotian Feng's avatar Xiaotian Feng Committed by Jens Axboe
Browse files

block: put dev->kobj in blk_register_queue fail path



kernel needs to kobject_put on dev->kobj if elv_register_queue fails.

Signed-off-by: default avatarXiaotian Feng <dfeng@redhat.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Nikanth Karthikesan <knikanth@suse.de>
Cc: David Teigland <teigland@redhat.com>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 4ee69851
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment