diff options
author | Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com> | 2012-08-27 20:56:54 -0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-10-30 08:34:25 +0100 |
commit | d60e7ec18c3fb2cbf90969ccd42889eb2d03aef9 (patch) | |
tree | 05ebf2276e545a301eb3e6db2264254b11c3ae1e /security/security.c | |
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>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions