Hi Alan

The attached patch lets the hub thread have a files context.
This is needed so request_module and friends do not oops when called
in a probe function. This matches what we have in the 2.4.0-tx line

Tom

--- drivers/usb/hub.c.orig      Fri Sep 15 18:59:06 2000
+++ drivers/usb/hub.c   Fri Sep 15 18:59:31 2000
@@ -588,6 +588,8 @@
         * so get rid of all our resources
         */
        exit_files(current);  /* daemonize doesn't do exit_files */
+        current->files = init_task.files;
+        atomic_inc(&current->files->count);
        daemonize();
 
        /* Setup a nice name */

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to