Update of /cvsroot/alsa/alsa-kernel/core/seq In directory sc8-pr-cvs1:/tmp/cvs-serv15017/core/seq
Modified Files: seq_clientmgr.c seq_device.c Log Message: - check rootfs before calling request_module() to avoid annoying error messages at the boot time. Index: seq_clientmgr.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/core/seq/seq_clientmgr.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- seq_clientmgr.c 20 Aug 2003 09:10:29 -0000 1.24 +++ seq_clientmgr.c 7 Oct 2003 12:12:20 -0000 1.25 @@ -137,7 +137,7 @@ if (clientid < 64) { int idx; - if (! client_requested[clientid]) { + if (! client_requested[clientid] && current->fs->root) { client_requested[clientid] = 1; for (idx = 0; idx < 64; idx++) { if (seq_client_load[idx] < 0) Index: seq_device.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/core/seq/seq_device.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- seq_device.c 30 May 2003 12:28:33 -0000 1.13 +++ seq_device.c 7 Oct 2003 12:12:20 -0000 1.14 @@ -132,6 +132,9 @@ #ifdef CONFIG_KMOD struct list_head *head; + if (! current->fs->root) + return; + down(&ops_mutex); list_for_each(head, &opslist) { ops_list_t *ops = list_entry(head, ops_list_t, list); ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog