[ 07/24] floppy: do put_disk on current dr if blk_init_queue fails

2012-11-02 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Herton Ronaldo Krzesinski commit 238ab78469c6ab7845b43d5061cd3c92331b2452 upstream. If blk_init_queue fails, we do not call put_disk on the current dr (dr is decremented first in the error

[ 07/24] floppy: do put_disk on current dr if blk_init_queue fails

2012-11-02 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Herton Ronaldo Krzesinski herton.krzesin...@canonical.com commit 238ab78469c6ab7845b43d5061cd3c92331b2452 upstream. If blk_init_queue fails, we do not call put_disk on the current dr (dr is