Files
linux/drivers/md
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-03-12 10:33:01 -07:00
2011-05-29 13:03:09 +01:00
2012-03-12 10:33:01 -07:00
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:35 +00:00
2010-08-12 04:14:12 +01:00
2011-08-04 21:58:43 -07:00
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:24 +00:00
2011-03-24 13:54:24 +00:00
2011-04-18 18:25:42 +10:00
2011-03-31 11:26:23 -03:00