Make sure no callback is running before removing the module. Signed-off-by: Thomas Gleixner Cc: Kent Overstreet --- drivers/block/umem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: tip/drivers/block/umem.c =================================================================== --- tip.orig/drivers/block/umem.c +++ tip/drivers/block/umem.c @@ -746,7 +746,7 @@ static void init_battery_timer(void) static void del_battery_timer(void) { - del_timer(&battery_timer); + del_timer_sync(&battery_timer); } /* -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/