Re: [PATCH v2.6.36-rc7] mac80211: cancel restart_work explicitlyinstead of depending on flush_scheduled_work()

From: Johannes Berg
Date: Fri Oct 15 2010 - 12:23:42 EST


> -ÂÂÂ ÂÂÂ create_singlethread_workqueue(wiphy_name(local->hw.wiphy));
> +ÂÂÂ ÂÂÂ alloc_ordered_workqueue(wiphy_name(local->hw.wiphy), 0);

no description for this change?

> -ÂÂÂ /*
> -ÂÂÂ * For key todo, it'll be empty by now but the work
> -ÂÂÂ * might still be scheduled.
> -ÂÂÂ */
> -ÂÂÂ flush_scheduled_work();

oops, todo work no longer exists...

Anyway, ACK.

Johannes
(sent on my cell phone)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/