commit | d60e7ec18c3fb2cbf90969ccd42889eb2d03aef9 | [log] [tgz] |
---|---|---|
author | Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com> | Mon Aug 27 20:56:54 2012 -0300 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Oct 30 08:34:25 2012 +0100 |
tree | 05ebf2276e545a301eb3e6db2264254b11c3ae1e | |
parent | 238ab78469c6ab7845b43d5061cd3c92331b2452 [diff] |
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 <herton.krzesinski@canonical.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Jens Axboe <axboe@kernel.dk>