Files
linux/drivers
Jonathan Brassow f4f388bce9 MD: Add del_timer_sync to mddev_suspend (fix nasty panic)
commit 0d9f4f135e upstream.

Use del_timer_sync to remove timer before mddev_suspend finishes.

We don't want a timer going off after an mddev_suspend is called.  This is
especially true with device-mapper, since it can call the destructor function
immediately following a suspend.  This results in the removal (kfree) of the
structures upon which the timer depends - resulting in a very ugly panic.
Therefore, we add a del_timer_sync to mddev_suspend to prevent this.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-21 09:40:03 -07:00
..
2012-02-13 11:06:13 -08:00
2012-05-07 08:56:39 -07:00
2012-01-25 17:24:54 -08:00
2012-01-25 17:24:56 -08:00
2012-04-13 08:14:05 -07:00
2012-01-06 14:13:48 -08:00
2012-04-27 09:51:06 -07:00
2011-11-21 14:31:14 -08:00