lkml.org 
[lkml]   [2008]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] usbmon: fix tiny race exposed by the fastboot patches
On Sat, 13 Sep 2008 12:48:58 -0700, Arjan van de Ven <arjan@infradead.org> wrote:

> +++ b/drivers/usb/mon/mon_main.c
> @@ -361,12 +361,12 @@ static int __init mon_init(void)
> }
> // MOD_INC_USE_COUNT(which_module?);
>
> - usb_register_notify(&mon_nb);
>
> mutex_lock(&usb_bus_list_lock);
> list_for_each_entry (ubus, &usb_bus_list, bus_list) {
> mon_bus_init(ubus);
> }
> + usb_register_notify(&mon_nb);
> mutex_unlock(&usb_bus_list_lock);

Looks like the above does not add new deadlocks and does not
miss notifications, so ACK.

-- Pete


\
 
 \ /
  Last update: 2008-09-13 22:09    [W:0.026 / U:1.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site