[PATCH 4/6] floppy: properly handle failure on add_disk loop

2012-08-27 Thread Herton Ronaldo Krzesinski
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: sta...@vger.kernel.org Signed-off-by: Herton Ronaldo Krzesinski --- drivers/block/floppy.c | 11 ++- 1 file changed, 10 insertions(+),

[PATCH 4/6] floppy: properly handle failure on add_disk loop

2012-08-27 Thread Herton Ronaldo Krzesinski
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: sta...@vger.kernel.org Signed-off-by: Herton Ronaldo Krzesinski herton.krzesin...@canonical.com --- drivers/block/floppy.c | 11 ++- 1

Re: [PATCH 4/6] floppy: properly handle failure on add_disk loop

2012-08-10 Thread Vivek Goyal
On Thu, Aug 09, 2012 at 04:59:49PM -0300, Herton Ronaldo Krzesinski wrote: > On do_floppy_init, if something failed inside the loop we call add_disk, > there was no cleanup of previous iterations in the error handling. > > Signed-off-by: Herton Ronaldo Krzesinski > Cc: sta...@vger.kernel.org >

Re: [PATCH 4/6] floppy: properly handle failure on add_disk loop

2012-08-10 Thread Vivek Goyal
On Thu, Aug 09, 2012 at 04:59:49PM -0300, Herton Ronaldo Krzesinski wrote: On do_floppy_init, if something failed inside the loop we call add_disk, there was no cleanup of previous iterations in the error handling. Signed-off-by: Herton Ronaldo Krzesinski herton.krzesin...@canonical.com Cc:

[PATCH 4/6] floppy: properly handle failure on add_disk loop

2012-08-09 Thread Herton Ronaldo Krzesinski
On do_floppy_init, if something failed inside the loop we call add_disk, there was no cleanup of previous iterations in the error handling. Signed-off-by: Herton Ronaldo Krzesinski Cc: sta...@vger.kernel.org --- drivers/block/floppy.c | 10 +- 1 file changed, 9 insertions(+), 1

[PATCH 4/6] floppy: properly handle failure on add_disk loop

2012-08-09 Thread Herton Ronaldo Krzesinski
On do_floppy_init, if something failed inside the loop we call add_disk, there was no cleanup of previous iterations in the error handling. Signed-off-by: Herton Ronaldo Krzesinski herton.krzesin...@canonical.com Cc: sta...@vger.kernel.org --- drivers/block/floppy.c | 10 +- 1 file