From: Liu Yuan Date: Tue, 19 Apr 2011 11:47:58 +0000 (+0200) Subject: block, blk-sysfs: Fix an err return path in blk_register_queue() X-Git-Tag: v2.6.39-rc5~38^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed5302d3c25006a9edc7a7fbea97a30483f89ef7;p=pandora-kernel.git 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: Liu Yuan Signed-off-by: Jens Axboe --- Reading git-diff-tree failed