commit | fad4a18c8a55947a9c4f1a427427b176e053a991 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Tue Aug 20 15:18:59 2013 +0200 |
committer | Hans de Goede <hdegoede@redhat.com> | Tue Aug 20 15:18:59 2013 +0200 |
tree | 7c70c114a1513a206f75faff64d6e64c45dec351 | |
parent | 11335a2620a39a403b17a7809735712ec7a64a2c [diff] |
hotplug: Remove device from usb_devs before signalling its removal If we write the remove event to the pipe before doing the list_del, in theory another thread can process the event and unref the device before it has been removed from usb_devs. Signed-off-by: Hans de Goede <hdegoede@redhat.com>