diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2005-08-10 17:12:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 19:28:19 -0400 |
commit | bf193d3cd2a3b73f2df74f57106114867946c09c (patch) | |
tree | cc47350df18dd7bf00a3adb136476e1896f20c19 /fs/libfs.c | |
parent | 8b28c7526a302bbfa618f7eab4ef961edd68c9a0 (diff) |
[PATCH] USB: Disconnect children when unbinding the hub driver
This patch (as554) makes the hub driver disconnect any child USB devices
when it is unbound from a hub. Normally this will never happen, but
there are a few oddball ways to unbind the hub driver while leaving the
children intact. For example, the new "unbind" sysfs attribute can be
used for this purpose.
Given that unbinding hubs with children is now safe, the patch also
removes the code that prevented people from doing so using usbfs.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions