From: Herton Ronaldo Krzesinski Date: Mon, 27 Aug 2012 23:56:54 +0000 (-0300) Subject: floppy: properly handle failure on add_disk loop X-Git-Tag: v3.7-rc4~23^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d60e7ec18c3fb2cbf90969ccd42889eb2d03aef9;p=pandora-kernel.git floppy: properly handle failure on add_disk loop On floppy initialization, if something failed inside the loop we call add_disk, there was no cleanup of previous iterations in the error handling. Cc: stable@vger.kernel.org Signed-off-by: Herton Ronaldo Krzesinski Signed-off-by: Jiri Kosina Signed-off-by: Jens Axboe --- Reading git-diff-tree failed