On Tuesday 15 July 2008, Henrique de Moraes Holschuh wrote: > There are two mutexes in rfkill: > > rfkill->mutex, which protects some of the fields of a rfkill struct, and is > also used for callback serialization. > > rfkill_mutex, which protects the global state, the list of registered > rfkill structs and rfkill->claim. > > Make sure to use the correct mutex, and to not miss locking rfkill->mutex > even when we already took rfkill_mutex. Can't we rename the global rfkill_mutex? I think the current situation is highly confusing. Perhaps rfkill_global_mutex would be good enough. Maybe somebody has a better idea, however. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html