When USB is builtin, a file with a zero-length name is getting created in
/sys/module/nousb/parameters and it's causing problems for programs that
scan the filesystem. Since the file can't be read, statted, or anything,
don't create it at all.
Signed-off-by: Chuck Ebbert <cebbert@redhat.com>
--- linux-2.6.23.x86_64.orig/drivers/usb/core/usb.c
+++ linux-2.6.23.x86_64/drivers/usb/core/usb.c
@@ -849,7 +849,7 @@ void usb_buffer_unmap_sg(const struct us
}
/* format to disable USB on kernel command line is: nousb */
-__module_param_call("", nousb, param_set_bool, param_get_bool, &nousb, 0444);
+__module_param_call("", nousb, param_set_bool, param_get_bool, &nousb, 0);
/*
* for external read access to <nousb>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Linus Torvalds | Linux 2.6.27-rc5 |
| Jared Hulbert | [PATCH 00/10] AXFS: Advanced XIP filesystem |
| Linus Torvalds | Linux 2.6.27-rc8 |
git: | |
| David Miller | [GIT]: Networking |
| Antonio Almeida | HTB accuracy for high speed |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
