patch-2.4.0-test8 linux/drivers/sound/sound_core.c
Next file: linux/drivers/sound/trident.c
Previous file: linux/drivers/sound/sonicvibes.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Mon Aug 28 15:03:42 2000
- Orig file:
v2.4.0-test7/linux/drivers/sound/sound_core.c
- Orig date:
Thu Jul 27 17:38:01 2000
diff -u --recursive --new-file v2.4.0-test7/linux/drivers/sound/sound_core.c linux/drivers/sound/sound_core.c
@@ -456,7 +456,11 @@
static struct file_operations soundcore_fops=
{
- owner: THIS_MODULE,
+/* owner: THIS_MODULE, * this is a bug: if we have an owner, the kernel
+ generates a MOD_INC_USE_COUNT - thus
+ the module cannot be unloaded since the device
+ is never released here ! - solution: owner
+ has to be NULL. Patch by Peter Wahl <Peter.Wahl@epost.de> */
open: soundcore_open,
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)