From: Herton Ronaldo Krzesinski Date: Mon, 27 Aug 2012 23:56:52 +0000 (-0300) Subject: floppy: do put_disk on current dr if blk_init_queue fails X-Git-Tag: v3.2.34~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae1ab6ee65fe4cf7d6752b5aefffd97fc84984b2;p=pandora-kernel.git floppy: do put_disk on current dr if blk_init_queue fails commit 238ab78469c6ab7845b43d5061cd3c92331b2452 upstream. If blk_init_queue fails, we do not call put_disk on the current dr (dr is decremented first in the error handling loop). Reviewed-by: Ben Hutchings Signed-off-by: Herton Ronaldo Krzesinski Signed-off-by: Jiri Kosina Signed-off-by: Jens Axboe Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed