patch-2.4.0-test12 linux/drivers/sound/sound_core.c
Next file: linux/drivers/sound/vwsnd.c
Previous file: linux/drivers/sound/sonicvibes.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Sun Dec 3 17:45:23 2000
- Orig file:
v2.4.0-test11/linux/drivers/sound/sound_core.c
- Orig date:
Tue Oct 31 12:42:27 2000
diff -u --recursive --new-file v2.4.0-test11/linux/drivers/sound/sound_core.c linux/drivers/sound/sound_core.c
@@ -454,11 +454,8 @@
static struct file_operations soundcore_fops=
{
-/* 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> */
+ /* We must have an owner or the module locking fails */
+ owner: THIS_MODULE,
open: soundcore_open,
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)