Re: [PATCH v3 2/6] floppy: do put_disk on current dr if blk_init_queue fails

2012-08-14 Thread Herton Ronaldo Krzesinski
On Tue, Aug 14, 2012 at 03:48:35PM -0400, Vivek Goyal wrote: > On Mon, Aug 13, 2012 at 03:16:23PM -0300, Herton Ronaldo Krzesinski wrote: > > If blk_init_queue fails, we do not call put_disk on the current dr > > (dr is decremented first in the error handling loop). > > > > Cc:

Re: [PATCH v3 2/6] floppy: do put_disk on current dr if blk_init_queue fails

2012-08-14 Thread Vivek Goyal
On Mon, Aug 13, 2012 at 03:16:23PM -0300, Herton Ronaldo Krzesinski wrote: > If blk_init_queue fails, we do not call put_disk on the current dr > (dr is decremented first in the error handling loop). > > Cc: sta...@vger.kernel.org > Signed-off-by: Herton Ronaldo Krzesinski > --- >

Re: [PATCH v3 2/6] floppy: do put_disk on current dr if blk_init_queue fails

2012-08-14 Thread Vivek Goyal
On Mon, Aug 13, 2012 at 03:16:23PM -0300, Herton Ronaldo Krzesinski wrote: If blk_init_queue fails, we do not call put_disk on the current dr (dr is decremented first in the error handling loop). Cc: sta...@vger.kernel.org Signed-off-by: Herton Ronaldo Krzesinski

Re: [PATCH v3 2/6] floppy: do put_disk on current dr if blk_init_queue fails

2012-08-14 Thread Herton Ronaldo Krzesinski
On Tue, Aug 14, 2012 at 03:48:35PM -0400, Vivek Goyal wrote: On Mon, Aug 13, 2012 at 03:16:23PM -0300, Herton Ronaldo Krzesinski wrote: If blk_init_queue fails, we do not call put_disk on the current dr (dr is decremented first in the error handling loop). Cc: sta...@vger.kernel.org

Re: [PATCH v3 2/6] floppy: do put_disk on current dr if blk_init_queue fails

2012-08-13 Thread Ben Hutchings
On Mon, 2012-08-13 at 15:16 -0300, Herton Ronaldo Krzesinski wrote: > If blk_init_queue fails, we do not call put_disk on the current dr > (dr is decremented first in the error handling loop). > > Cc: sta...@vger.kernel.org > Signed-off-by: Herton Ronaldo Krzesinski Reviewed-by: Ben Hutchings

[PATCH v3 2/6] floppy: do put_disk on current dr if blk_init_queue fails

2012-08-13 Thread Herton Ronaldo Krzesinski
If blk_init_queue fails, we do not call put_disk on the current dr (dr is decremented first in the error handling loop). Cc: sta...@vger.kernel.org Signed-off-by: Herton Ronaldo Krzesinski --- drivers/block/floppy.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/block/floppy.c

[PATCH v3 2/6] floppy: do put_disk on current dr if blk_init_queue fails

2012-08-13 Thread Herton Ronaldo Krzesinski
If blk_init_queue fails, we do not call put_disk on the current dr (dr is decremented first in the error handling loop). Cc: sta...@vger.kernel.org Signed-off-by: Herton Ronaldo Krzesinski herton.krzesin...@canonical.com --- drivers/block/floppy.c |1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH v3 2/6] floppy: do put_disk on current dr if blk_init_queue fails

2012-08-13 Thread Ben Hutchings
On Mon, 2012-08-13 at 15:16 -0300, Herton Ronaldo Krzesinski wrote: If blk_init_queue fails, we do not call put_disk on the current dr (dr is decremented first in the error handling loop). Cc: sta...@vger.kernel.org Signed-off-by: Herton Ronaldo Krzesinski herton.krzesin...@canonical.com