commit | c87ffbb812cf6150097a5095b031f4013a8f78a5 | [log] [tgz] |
---|---|---|
author | Xiaotian Feng <dfeng@redhat.com> | Mon Aug 23 12:30:29 2010 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Mon Aug 23 12:30:29 2010 +0200 |
tree | f22328b7cbaac2166024d9e0fdac9332b9b1115e | |
parent | 4ee69851cd4880f574d22f5ce08bec35b01c94e3 [diff] |
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: Xiaotian 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: Jens Axboe <jaxboe@fusionio.com>